typesafe-config-eclipse icon indicating copy to clipboard operation
typesafe-config-eclipse copied to clipboard

Syntax error when using substitution to prepend to an array

Open ragnaroh opened this issue 6 years ago • 3 comments

If you have the following config you get a syntax error on the second line saying "no viable alternative at input '['".

foo: [1, 2]
bar: ${foo} [3]

ragnaroh avatar Mar 08 '18 17:03 ragnaroh

Can you use equals? Like:

foo = [1, 2]
bar = ${foo} [3]

mkurz avatar Mar 08 '18 22:03 mkurz

Same error message, I'm afraid.

ragnaroh avatar Mar 08 '18 22:03 ragnaroh

I can add that I'm using Eclipse Oxygen.2 Release (4.7.2)

ragnaroh avatar Mar 09 '18 09:03 ragnaroh