jashkenas/coffee-script — Issue #1770: String interpolation in inline if
Author: jwkoelewijn
Created: 2011-10-14 09:12:31+00:00
State: open

String interpolation causes the compiler to stop when used in an inline if:

a = "hello"
b = "world"
v = true ? "#{a}" : "#{b}"

Error: Parse error on line 3: Unexpected '{'