Skip to content

array does not support substitution #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
imacks opened this issue Nov 27, 2018 · 0 comments · Fixed by #77
Closed

array does not support substitution #70

imacks opened this issue Nov 27, 2018 · 0 comments · Fixed by #77

Comments

@imacks
Copy link
Contributor

imacks commented Nov 27, 2018

Consider this:

foo = hello
bar = [${foo}]

This results in an exception:

Hocon.HoconParserException : Failed to parse Hocon array. Expected `Comma` or `EndOfLine, found `SubstituteRequired` instead.
Arkatufus added a commit to Arkatufus/HOCON that referenced this issue Dec 2, 2018
@imacks imacks closed this as completed Dec 9, 2018
@Arkatufus Arkatufus mentioned this issue Feb 24, 2019
Arkatufus added a commit to Arkatufus/HOCON that referenced this issue Mar 16, 2019
Aaronontheweb pushed a commit that referenced this issue Mar 19, 2019
* Resolves #70

* Add check for mixed value types in arrays

* Simplify object parsing, fix end of line parsing bugs that causes object and array parsing errors.

* Update System.Configuration.ConfigurationManager to 4.5.0, Update Hocon.Configuration build target to net461, Add hack so configuration works with unit test.

* Fix linux case (#83)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant