Skip to content

Extend pedantic diagnostics #1075

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

Merged
merged 1 commit into from
Jan 28, 2020
Merged

Extend pedantic diagnostics #1075

merged 1 commit into from
Jan 28, 2020

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 25, 2020

This makes pedantic diagnostics use its own category and so far adds diagnostics for:

  • Expression compiles to a dynamic check at runtime.
    If an instanceof check cannot be evaluated statically and falls back to RTTI.
  • Indexed access may involve bounds checking.
    If an element access expression is not wrapped with unchecked(...). This is not always true for user-defined overloads.

@dcodeIO dcodeIO merged commit 30f9c2a into master Jan 28, 2020
@dcodeIO dcodeIO deleted the more-pedantic branch March 15, 2020 13:35
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.

1 participant