Skip to content

Commit d1876cf

Browse files
committed
Allow Foo(Bar) syntax in declarations
1 parent c22b2ee commit d1876cf

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
@@ -2501,6 +2501,7 @@ grammar P6 is STD {
25012501
# parametric type?
25022502
<.unsp>? [ <?before '['> <param=.postcircumfix> ]?
25032503
<.unsp>? [ <?before '{'> <whence=.postcircumfix> ]?
2504+
<.unsp>? [ <?before '('> <accept=.postcircumfix> ]?
25042505
[<.ws> 'of' <.ws> <typename> ]?
25052506
}
25062507

0 commit comments

Comments
 (0)