Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
coerce arglist to import to an RPA
now import Type :DEFAULT; works the same as a bare import Type
  • Loading branch information
moritz committed May 8, 2012
1 parent c95b593 commit 4b16cae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/ChangeLog
Expand Up @@ -19,6 +19,7 @@ New in 2012.05
+ updated calling conventions for traits
+ implemented fff flip-flop operator; improvements to ff form also
+ removed current directory from default library search path
+ 'import' works

New in 2012.04.1
+ autvivification for arrays and hashes
Expand Down
2 changes: 2 additions & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -721,6 +721,8 @@ grammar Perl6::Grammar is HLL::Grammar {
my $arglist;
if $<arglist> {
$arglist := $*W.compile_time_evaluate($/, $<arglist>[0]<EXPR>.ast);
$arglist := nqp::getattr($arglist.list.eager,
$*W.find_symbol(['List']), '$!items');
}
do_import($module.WHO, ~$<module_name><longname>, $arglist);
}
Expand Down

0 comments on commit 4b16cae

Please sign in to comment.