Permalink
Browse files

try to record Parameter.perl

  • Loading branch information...
1 parent 9e3f3a2 commit faf6af890f8551c989590918fdc0b2e51ab097df @moritz moritz committed Nov 4, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Perl6/Actions.pm
View
@@ -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;
}

0 comments on commit faf6af8

Please sign in to comment.