Skip to content
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

findError associates all errors with the current document. #6

Open
tbruyelle opened this issue Nov 16, 2023 · 0 comments
Open

findError associates all errors with the current document. #6

tbruyelle opened this issue Nov 16, 2023 · 0 comments

Comments

@tbruyelle
Copy link

tbruyelle commented Nov 16, 2023

While some error could come from other files.

How to reproduce:

gno precompile . # returns  b.gno: precompile: parse: tmp.gno:1:1: expected 'package', found z

-- a.gno --
package main

func main(){}
-- b.gno -- 
z

Open a.gno, gnols will return the error from b.gno (because it runs gno precompile) but associated with a.gno :
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant