puppetlabs/cpp-hocon

Good reference identified as "part of a cycle of substitutions"

zzhang97 opened this issue · 1 comments

Describe the Bug

The following configuration snippet

base {
}

app = ${base} {
  a {
    b = 1
  }
  c = [
    ${app.a.b}
  ]
}

was complained as "${app.a.b} was part of a cycle of substitutions."

Expected Behavior

The above configuration is OK.

Steps to Reproduce

Steps to reproduce the behavior:

	auto config = hocon::config::parse_string(R"(
base {
}

app = ${base} {
  a {
    b = 1
  }
  c = [
    ${app.a.b}
  ]
}
)"
	)->resolve();

Environment

  • Version [cpp-hocon 0.3.0]
  • Platform [Ubuntu 18.04, g++ 10.3]

Hello, @zzhang97 thank you for reporting this issue. Since this repository is being archived, this issue will be closed. To see more information on this, see https://www.puppet.com/blog/open-source-puppet-updates-2025.