The symbols should not take brace blocks.
MODIFY
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
@@ -2857,7 +2857,7 @@ symbol : basic_symbol
}
| tSYMBEG tSTRING_BEG string_rep tSTRING
{
- p->lstate = EXPR_END;
+ p->lstate = EXPR_ENDARG;
$$ = new_dsym(p, push($3, $4));
}
;

The symbols should not take brace blocks.