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
I'm trying to get Ruby's specs against MRuby + mruby-apr, but I've run into a funny parser error. It seems you can interpolate one value - but not two - in a symbol definition:
# This one's OK
> :"__mspec_#{'test'}_"=>:__mspec_test_# This one shouldn't be raising
> :"__mspec_#{'test'}_#{'test2'}__"line3: syntaxerror,unexpectedtSTRING_PART,expectingtSTRING
Just to note, the obvious workaround works just fine:
I'm trying to get Ruby's specs against MRuby + mruby-apr, but I've run into a funny parser error. It seems you can interpolate one value - but not two - in a symbol definition:
Just to note, the obvious workaround works just fine:
The text was updated successfully, but these errors were encountered: