Permalink
Browse files

[S02] add missing 1 found (er) by masak++

git-svn-id: http://svn.pugscode.org/pugs@30553 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 86ab9d3 commit 3ac952bcdea2bcd909fce1cc3065c1c6482a0ac5 lwall committed May 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 S02-bits.pod
View
@@ -4010,7 +4010,7 @@ statement is expected.) So for any undeclared identifier "C<foo>":
-- never taken as indirect object
foo $bar: 1 # $bar.foo(1) -- indirect object even if declared sub
-- $bar considered one token
- foo (bar()): # bar().foo(1) -- even if foo declared sub
+ foo (bar()): 1 # bar().foo(1) -- even if foo declared sub
foo bar(): # ILLEGAL -- bar() is two tokens.
foo .bar: # foo(.bar:) -- colon chooses .bar to listopify
foo bar baz: 1 # foo(baz.bar(1)) -- colon controls "bar", not foo.

0 comments on commit 3ac952b

Please sign in to comment.