Skip to content

Commit

Permalink
add TODO about "use bytes" for length()
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Mar 30, 2013
1 parent 3a7bddc commit b9439f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Perl6/P5Actions.pm
Expand Up @@ -3824,7 +3824,7 @@ class Perl6::P5Actions is HLL::Actions does STDActions {
method term:sym<length>($/) {
$DEBUG && say("term:sym<length>($/)");
make QAST::Op.new(
:op('callmethod'), :name('chars'),
:op('callmethod'), :name('chars'), # TODO http://perldoc.perl.org/bytes.html
$<EXPR> ?? $<EXPR>[0].ast
!! QAST::Var.new( :name('$_'), :scope('lexical') ) )
}
Expand Down

0 comments on commit b9439f2

Please sign in to comment.