Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Annotate lookups of stuff with term:name that are known at compile ti…
…me with the statically known type. Gets us some better static analysis, including with constants, as pointed out by moritz++.
  • Loading branch information
jnthn committed Mar 3, 2012
1 parent 4bacfdc commit 8b5ee17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Actions.pm
Expand Up @@ -4638,6 +4638,7 @@ class Perl6::Actions is HLL::Actions {
$*W.get_ref($type);
$past<has_compile_time_value> := 1;
$past<compile_time_value> := $type;
$past.type($type.WHAT);
return $past;
}

Expand Down

0 comments on commit 8b5ee17

Please sign in to comment.