Trim whitespaces
This commit is contained in:
1 parent
4dc29d141f
commit
ff5e036773
1 file changed
+1
-1
@@ -2168,7 +2168,7 @@ parse_inlining_operand :: proc(p: ^Parser, lhs: bool, tok: tokenizer.Token) -> ^
|
||||
}
|
||||
|
||||
switch e in &ast.unparen_expr(expr).derived {
|
||||
case ast.Proc_Lit:
|
||||
case ast.Proc_Lit:
|
||||
if e.inlining != .None && e.inlining != pi {
|
||||
error(p, expr.pos, "both 'inline' and 'no_inline' cannot be applied to a procedure literal")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user