Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 2762863002: Issue 28580. Relax instantiate to bounds. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/generated/resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
index a1979d0bd6e23cc4c9ad322a8f35d55da564924a..ef53702ce7aeb2d78c5183bb02855315eb971787 100644
--- a/pkg/analyzer/lib/src/generated/resolver.dart
+++ b/pkg/analyzer/lib/src/generated/resolver.dart
@@ -8700,7 +8700,7 @@ class TypeOverrideManager_TypeOverrideScope {
* type aliases.
*/
class TypeParameterBoundsResolver {
- final TypeProvider typeProvider;
+ final TypeSystem typeSystem;
final LibraryElement library;
final Source source;
final AnalysisErrorListener errorListener;
@@ -8709,7 +8709,7 @@ class TypeParameterBoundsResolver {
TypeNameResolver typeNameResolver = null;
TypeParameterBoundsResolver(
- this.typeProvider, this.library, this.source, this.errorListener);
+ this.typeSystem, this.library, this.source, this.errorListener);
/**
* Resolve bounds of type parameters of classes, class and function type
@@ -8763,8 +8763,8 @@ class TypeParameterBoundsResolver {
libraryScope ??= new LibraryScope(library);
typeParametersScope ??= createTypeParametersScope();
typeNameResolver ??= new TypeNameResolver(
- new TypeSystemImpl(typeProvider),
- typeProvider,
+ typeSystem,
+ typeSystem.typeProvider,
library,
source,
errorListener);

Powered by Google App Engine
This is Rietveld 408576698