Open Joebeazelman opened 8 months ago
Our TOML parser doesn't associate source lines to the parsed data structure, so there's no easy solution for the short term. We do get source positions when the TOML syntax is wrong.
I made a PR on TOML for that https://github.com/pmderodat/ada-toml/issues/14
Hello! I’ve created a MR (https://github.com/pmderodat/ada-toml/pull/15) to preserve source location information in TOML values: before I merge it to the master
branch and create a new ada-toml release, would you be okay to have a look and give me some feedback, to make sure what I did is useful? Thanks!
If there's an issue with Alire.toml, Alire doesn't report where the error occurs in the toml file.
APPLICATION alr version: 2.0-beta1 libalire version: 2.0-beta1 compilation date: 2023-10-19 15:15:43 compiled with version: 13.2.0
CONFIGURATION config folder: /Users/joebeazelman/.config/alire cache folder: /Users/joebeazelman/.cache/alire vault folder: /Users/joebeazelman/.cache/alire/releases build folder: /Users/joebeazelman/.cache/alire/builds force flag: FALSE non-interactive flag: FALSE community index branch: stable-1.2.1 compatible index versions: ^1.1 & <=1.2.1 indexes folder: /Users/joebeazelman/.config/alire/indexes indexes metadata: OK index #1: (community) git+https://github.com/alire-project/alire-index#stable-1.2.1 toolchain folder: /Users/joebeazelman/.cache/alire/toolchains toolchain assistant: disabled tool #1 gnat: gnat_avr_elf=13.2.1 tool #2 gprbuild: gprbuild=22.0.1
WORKSPACE root status: BROKEN root release: N/A root load error: Uninitialized Outcome root folder: N/A current folder: /Users/joebeazelman/Development/test_project
SYSTEM distribution: HOMEBREW host-arch: X86_64 os: MACOS target: NATIVE toolchain: USER word-size: BITS_64
Checklist
alr version
.Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected Behavior Describe what happened and how it deviates from what should have happened, if unclear from the previous steps.
alr
version Paste here the output ofalr version
.alr
logs If pertinent, paste the output ofalr -vv -d <your command>
here.