Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Throw NYI (for now) for $=data and cousins
  • Loading branch information
Mouq committed Feb 7, 2015
1 parent a4ceed6 commit 1b24050
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Perl6/Actions.nqp
Expand Up @@ -1777,6 +1777,9 @@ class Perl6::Actions is HLL::Actions does STDActions {
$past.push($wval);
}
}
elsif $twigil eq '=' && $desigilname ne 'pod' {
$*W.throw($/, 'X::Comp::NYI', feature => 'Pod variables other than $=pod');
}
elsif $past.name() eq '@_' {
if $*W.nearest_signatured_block_declares('@_') {
$past.scope('lexical');
Expand Down

0 comments on commit 1b24050

Please sign in to comment.