Skip to content

Compiler: replace parseForRequestor by checkNotice#13222

Merged
MarcusDenker merged 1 commit intopharo-project:Pharo12from
privat:faulty-code-compiler-checknotice
Mar 31, 2023
Merged

Compiler: replace parseForRequestor by checkNotice#13222
MarcusDenker merged 1 commit intopharo-project:Pharo12from
privat:faulty-code-compiler-checknotice

Conversation

@privat
Copy link
Contributor

@privat privat commented Mar 31, 2023

A few weeks ago, #13047 removed the notification ping pong of the compiler and replaced it by a single method parseForRequestor that calls parse and catches its exceptions.

Currently, thanks to #13084, #13165 and #13186, exceptions are nor more signaled during parsing and semantic analysis as the AST is annotated with warning and error information (RBNotices).

Therefore, parseForRequestor can now be replaced by something simpler that rely on AST notices instead of exceptions.

@MarcusDenker MarcusDenker merged commit 3bd0607 into pharo-project:Pharo12 Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants