Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

try to record Parameter.perl

  • Loading branch information...
commit faf6af890f8551c989590918fdc0b2e51ab097df 1 parent 9e3f3a2
@moritz moritz authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/Perl6/Actions.pm
View
3  src/Perl6/Actions.pm
@@ -2089,6 +2089,9 @@ class Perl6::Actions is HLL::Actions {
# Stash any traits.
%*PARAM_INFO<traits> := $<trait>;
+ # save the source code for introspection
+ %*PARAM_INFO<perl> := ~$/;
+
# Result is the parameter info hash.
make %*PARAM_INFO;
}
Please sign in to comment.
Something went wrong with that request. Please try again.