leafo/lessphp — Issue #164: String interpolation parse error
Author: panrafal
Created: 2011-12-16 22:58:24+00:00
State: open

I'm trying to use string interpolation in mixin arguments, but i get a strange parse error. Below example will throw: "parse error: failed at `, {@bbb}")}` line: 6"

@test(@a) {
test: @a;
}
@aaa: aaa;
@bbb: bbb;
.test {@test("{@aaa}, {@bbb}")}

It will however work ii you add a closing bracket before the first variable, like here:

@test(@a) {
test: @a;
}
@aaa: aaa;
@bbb: bbb;
.test {@test("**}**{@aaa}, {@bbb}")}