mirah/mirah-parser

string interpolation doesn't allow trailing whitespace

Closed this issue · 1 comments

Currently this causes a syntax error:

color = "blue"
puts "my favorite is #{ color }"

expected terms before ' }"' (at line: 2, char: 27)

Workaround: remove trailing whitespace from your string interpolations.

color = "blue"
puts "my favorite is #{ color}"

This seems to work now.