-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bootstrap version fails to read implicit dependencies table #5
Comments
I hadn't expected anybody to try using implicit tables for that, but I can confirm there is likely a bug in the upstream library with that style. I believe the way it stores the "key path" when parsing the toml can end up slightly different depending on that style. I had to implement a feature to allow it to do the automatic conversion to the types used by fpm properly with a table like that, and it's possible it's not properly dealing with that different "key path" style. I'll submit a bug report for that library. I'm not sure if that will be fixed before the Fortran version is done or not. We'll see. |
ok, can confirm that the bug exists in the latest version of the library as well. Going to work on a bug report to them. |
Thanks.
I think it is kind of a natural choice for this, as inline tables are quite limited by the TOML specs on purpose. [dependencies]
toml-f.git = "https://github.com/toml-f/toml-f" |
This could be an upstream issue with https://github.com/kowainik/tomland, but I don't know enough Haskell to verify this.
Steps to reproduce:
fpm
(fcb7f67 used)Presumed source of the error:
The following two TOML documents are equivalent, except
dependencies.toml-f
dependencies
is implicitly createdApparently, implicit tables are handled differently by the
tomland
parser, but this implementation detail should not leak intofpm
Additional information:
Testing this with the Python
toml
module:The text was updated successfully, but these errors were encountered: