puppetlabs/cpp-hocon

HOCON failed to parse a list of double when one of them double has all zero after decimal place, such as 1.0000

franknj opened this issue · 1 comments

Describe the Bug

hocon::config::get_double_list throws exception of "The list did not contain only the desired type" when parsing [1.004, 1.33, 1.000]

Expected Behavior

Expect this function to return a vector of double.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'

Environment

  • Version 0.3.0
  • Platform [Redhat 7.9]
  • Boost 1.80

Additional Context

Add any other context about the problem here.

Hello, @franknj 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.