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

Reduce false positive reports of IsolatedDeclarations errors #93

Merged

Conversation

h-joo
Copy link

@h-joo h-joo commented Aug 30, 2023

and make the code-fixer more resilient in places where the isolatedDeclaration error is still reported in insesensible locations.

and typeLiteralNodes.

As this will automatically be inferred as 'any' when noImplicitAny is
off, and will be it's own error when noImplicitAny is on.

Signed-off-by: Hana Joo <hanajoo@google.com>
do not report cases where it's an own compiler error.

Signed-off-by: Hana Joo <hanajoo@google.com>
can report errors in non-sensical places such as ill-formed
AST where it still succeeds to parse, but the fixer would not
be able to find a proper node to annotate types.

Signed-off-by: Hana Joo <hanajoo@google.com>
@dragomirtitian dragomirtitian merged commit 2f04c7a into bloomberg:isolated-declarations Aug 30, 2023
@h-joo h-joo deleted the betterDiagnostics branch August 31, 2023 17:10
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