You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simple-test {
description = "Will not have value from common2.conf"
include classpath("lib/common.conf")
}
lib/common.conf
common-value = 42
include classpath("lib/common2.conf")
lib/common2.conf
other-common-value = 3.14
Doing a hocon.ParseResource("myconf.conf") results in an output of so:
{
simple-test: {
description: Will not have value from common2.conf,
common-value: 42
}
}
It does not include lib/common2.conf, however if I have a lib/lib/common2.conf then it will work.
It seems that the parser is just eating the keyword within this if statement.
Consider the example:
myconf.conf
lib/common.conf
lib/common2.conf
Doing a
hocon.ParseResource("myconf.conf")
results in an output of so:It does not include
lib/common2.conf
, however if I have alib/lib/common2.conf
then it will work.It seems that the parser is just eating the keyword within this
if
statement.hocon/parser.go
Line 463 in 49329f9
The text was updated successfully, but these errors were encountered: