Skip to content

Improve faulty parsing of methods#12879

Merged
MarcusDenker merged 14 commits intopharo-project:Pharo11from
privat:improve-faulty-parsing-methods
Mar 1, 2023
Merged

Improve faulty parsing of methods#12879
MarcusDenker merged 14 commits intopharo-project:Pharo11from
privat:improve-faulty-parsing-methods

Conversation

@privat
Copy link
Contributor

@privat privat commented Feb 28, 2023

This PR is a little larger than the previous one but it's mainly small commits.

  • Extends RBCodeSnipped with full methods (including broken pattern, arguments and pragmas).
  • Fix various clients of faulty pragma nodes (not that numerous in fact).

Note: I do not change the compiler behavior when dealing with faulty AST. Especially, no RuntimeSyntaxicError is signaled is the method contains buggy pragmas or parameters. But maybe it's not the job of the compiler to do such policy decision about what faulty code is acceptable to execute or not?

@privat
Copy link
Contributor Author

privat commented Feb 28, 2023

Merge with P11 to solve conflict with #12868 (I initially thought that both PR were not conflictual)

this line was dropped during some rebasing
@MarcusDenker MarcusDenker merged commit 75259e6 into pharo-project:Pharo11 Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants