Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add file path to error messages from full_moon parsing #125

Closed
Meta-Maxim opened this issue Dec 11, 2022 · 0 comments · Fixed by #147
Closed

Add file path to error messages from full_moon parsing #125

Meta-Maxim opened this issue Dec 11, 2022 · 0 comments · Fixed by #147
Labels
enhancement New feature or request extractor

Comments

@Meta-Maxim
Copy link

Meta-Maxim commented Dec 11, 2022

When lua parsing fails with an error from full moon in extractor/source_file.rs -> full_moon::parse, it or something like extractor/lib.rs should append an "in " + human_path_to_file after the error messages as they do not currently include this, making it hard to locate the files.

Current error: error occurred while creating ast: unexpected token 'local'. Starting from line 22, character 5 and ending on line 22, character 10)

Suggested error:
error occurred while creating ast: unexpected token 'local'. Starting from line 22, character 5 and ending on line 22, character 10)
in src/StarterPlayer/StarterPlayerScripts/Client/Controllers/Combat/Bullets.lua

YetAnotherClown added a commit to YetAnotherClown/moonwave that referenced this issue Jul 10, 2024
…ra#125)

Full-Moon now outputs multiple error messages, figured I would add the file path while fixing this full-moon change
@YetAnotherClown YetAnotherClown added enhancement New feature or request extractor labels Jul 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request extractor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants