Skip to content

Static check for noalloc: even nicer error messages#864

Closed
gretay-js wants to merge 3 commits intooxcaml:mainfrom
gretay-js:alloc-check-even-better-error
Closed

Static check for noalloc: even nicer error messages#864
gretay-js wants to merge 3 commits intooxcaml:mainfrom
gretay-js:alloc-check-even-better-error

Conversation

@gretay-js
Copy link
Copy Markdown
Contributor

Improves the error messages introduced in #826 to point to the annotation (instead of highlighting the entire function's body). I tested it in the editor on a bunch of large functions and I think it is more convenient.

Unfortunately, to do it we need to keep track of the location of the attribute all the way through the middle-end. It's not a big code change, because the Debuginfo.t propagated alongside the property doesn't need to be updated.

@Gbury
Copy link
Copy Markdown
Contributor

Gbury commented Apr 3, 2023

Can we close this one since #1157 has been opened ?

@gretay-js
Copy link
Copy Markdown
Contributor Author

superseded by #1157

@gretay-js gretay-js closed this Apr 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants