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

MacroApi.type_expr vs diagnostics #11048

Merged
merged 2 commits into from
Mar 28, 2023
Merged

Conversation

kLabz
Copy link
Contributor

@kLabz kLabz commented Mar 28, 2023

Ignores diagnostics specific behavior while typing through MacroApi.type_expr (eg via Context.typeof()), falling back to normal errors in that case, which can be caught (like during compilation) or not, in which case they'll still end up in diagnostics (might need to add a test to demonstrate that part?).

Fixes #6794
Should also handle #10028

@kLabz kLabz requested a review from Simn March 28, 2023 16:16
@Simn Simn merged commit 4fb03d4 into HaxeFoundation:development Mar 28, 2023
@skial skial mentioned this pull request Mar 29, 2023
1 task
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.

Context.typeof on unknown identifier is Unknown instead of error in display mode.
2 participants