Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove action method for complex literal, as per commit 362f3fd
  • Loading branch information
Mouq committed Mar 21, 2015
1 parent dfad9ca commit ae043cc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Perl6/Actions.nqp
Expand Up @@ -5705,13 +5705,6 @@ class Perl6::Actions is HLL::Actions does STDActions {
method octint($/) { make string_to_bigint( $/, 8 ); }
method binint($/) { make string_to_bigint( $/, 2 ); }


method number:sym<complex>($/) {
my $re := $*W.add_constant('Num', 'num', 0e0);
my $im := $*W.add_constant('Num', 'num', +~$<im>);
make $*W.add_constant('Complex', 'type_new', $re.compile_time_value, $im.compile_time_value);
}

method number:sym<numish>($/) {
make $<numish>.ast;
}
Expand Down

0 comments on commit ae043cc

Please sign in to comment.