Open kallentu opened 4 months ago
@pq I updated what needs to be done in the analyzer with a short note from the kickoff. If it's easier to track with singular issues, we can do that too.
I suspect this work can start soon. I'm currently slowly adding language tests to the repo and I usually use those as a good indicator of what's working and what isn't.
@kallentu:
From #super-parameters, “An occurrence of super._ as a declaration of a formal parameter in a constructor is a compile-time error.”
This seems out of sync with the current spec. Could you take a look?
@kallentu:
From #super-parameters, “An occurrence of super._ as a declaration of a formal parameter in a constructor is a compile-time error.”
This seems out of sync with the current spec. Could you take a look?
Ah yes, you're right.
I updated the task, feel free to remove it or change it. super._
isn't a compile time error.
This meta issue tracks all the analyzer implementation work items. Referenced from: https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/process/new_language_feature.md
Work Items
AstBuilder
)ResolutionVisitor
(resolve types)ScopeResolverVisitor
(resolve simple identifiers by scope)ResolverVisitor
(type-based resolution)OverrideVerifier
andInheritanceOverrideVerifier
(report errors and warnings related to overrides)_
for unused parameters. 267b8efb00d4db39b335f43e635686a5eef66cedErrorVerifier
(report other errors and warnings)_
”FfiVerifier
(report errors and warnings related to FFI)UNUSED_ELEMENT
UNUSED_LOCAL_VARIABLE
UNUSED_CATCH_CLAUSE
UNUSED_CATCH_STACK
UNUSED_FIELD
@useResult
verification should not warn on results assigned to wildcards: https://github.com/dart-lang/sdk/commit/a86ec25ffb90cbbe389ea6c4a22f33248deb70d0