mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
Update all AST nodes setters to require XyzImpl values.
Change-Id: Iaabe077a27a3d7c1dd4660b5d4b3bb9ccb746b0d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265408 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
afb9609261
commit
0ad53cbc7b
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -316,7 +316,7 @@ class NamedTypeResolver with ScopeHelpers {
|
|||
/// out to be a [ClassElement], so it is probably a `Class.constructor`.
|
||||
void _rewriteToConstructorName(
|
||||
NamedTypeImpl node,
|
||||
PrefixedIdentifier typeIdentifier,
|
||||
PrefixedIdentifierImpl typeIdentifier,
|
||||
) {
|
||||
var constructorName = node.parent;
|
||||
if (constructorName is ConstructorNameImpl &&
|
||||
|
|
|
@ -3163,7 +3163,7 @@ class AstBuilder extends StackListener {
|
|||
reportVarianceModifierNotEnabled(variance);
|
||||
}
|
||||
|
||||
var bound = pop() as TypeAnnotation?;
|
||||
var bound = pop() as TypeAnnotationImpl?;
|
||||
|
||||
// Peek to leave type parameters on top of stack.
|
||||
var typeParameters = peek() as List<TypeParameter>;
|
||||
|
|
Loading…
Reference in a new issue