You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$m~~s|Confused|Two terms in a row (previous line missing its semicolon?)|;
6124
6124
}
6125
-
elsif@*MEMOS[$here.pos]<listop> {
6125
+
elsif@*MEMOS[$startpos]<listop> {
6126
6126
$m~~s|Confused|Two terms in a row (listop with args requires whitespace or parens)|;
6127
6127
}
6128
-
elsif@*MEMOS[$here.pos-1]<baremeth> {
6129
-
$m~~s|Confused|Two terms in a row (methodcall requires colon or parens totake arguments)|;
6128
+
elsif@*MEMOS[$startpos]<baremeth> {
6129
+
$here=$here.cursor($startpos);
6130
+
$m~~s|Confused|Two terms in a row (methodcallwith args requires colon or parens without whitespace)|;
6130
6131
}
6131
-
elsif@*MEMOS[$here.pos-1]<arraycomp> {
6132
+
elsif@*MEMOS[$startpos]<arraycomp> {
6132
6133
$m~~s|Confused|Two terms in a row (preceding isnot a valid reduceoperator)|;
6133
6134
}
6134
6135
else {
@@ -6152,6 +6153,10 @@ method panic (Str $s) {
6152
6153
$m~~s|Malformed block|Return type $typeisnot allowed between '$d'and'$name'; please put it:\n after the $sbutbefore the '$d',\n within the signature following the '-->' marker, or\n as the argument of a 'returns' trait after the signature.|;
0 commit comments