We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b262af commit 4731bebCopy full SHA for 4731beb
STD.pm6
@@ -2167,6 +2167,7 @@ grammar P6 is STD {
2167
| '<' <desigilname> '>'
2168
]
2169
)
2170
+ [ <?before <[ \[ \( \< \{ ]>> <.panic: "Extra argument not allowed; pair already has variable argument"> ]?
2171
{ $key = $<var><desigilname>.Str; $value = $<var>; $¢.check_variable($value); }
2172
2173
$<k> = {$key} $<v> = {$value}
@@ -2926,6 +2927,8 @@ grammar P6 is STD {
2926
2927
| <param_var(1)>
2928
| '\\' <defterm>
2929
2930
+ [ <?before <[ \( \[ ]>> <.panic: "Subsignature not allowed after named parameter; please insert whitespace"> ]?
2931
+ [ <?before <[ \{ \< ]>> <.panic: "Cannot apply this shape"> ]?
2932
}
2933
2934
token named_param_term {
0 commit comments