Skip to content

Commit 7c17586

Browse files
committed
Don't look for -> during interpolation, masak++
1 parent 27326bc commit 7c17586

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

STD.pm6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3590,6 +3590,7 @@ grammar P6 is STD {
35903590

35913591
token postfix:sym['->'] () {
35923592
'->'
3593+
<!{ $*QSIGIL }>
35933594
[
35943595
| <brack=[ \[ \{ \( ]> <.obs("'->" ~ $<brack>.Str ~ "' as postfix dereferencer", "'." ~ $<brack>.Str ~ "' or just '" ~ $<brack>.Str ~ "' to deref, or whitespace to delimit a pointy block")>
35953596
| <.obs('-> as postfix', 'either . to call a method, or whitespace to delimit a pointy block')>

0 commit comments

Comments
 (0)