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

Unified Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 1942763002: Rebased and retested version of CL 1915123008. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/compiler/lib/src/serialization/modelz.dart
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart
index af70b04bb514c9a1300c7c794d03ec35aeb4add4..b0b80a2b18df7a55f775e77742feaf976d423b87 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -755,6 +755,9 @@ abstract class FunctionTypedElementMixin
return _decoder.getBool(Key.IS_EXTERNAL,
isOptional: true, defaultValue: false);
}
+
+ @override
+ List<DartType> get typeVariables => functionSignature.typeVariables;
}
abstract class ClassElementMixin implements ElementZ, ClassElement {
@@ -1331,6 +1334,9 @@ class ForwardingConstructorElementZ extends ElementZ
// variables correctly.
return definingConstructor.type;
}
+
+ @override
+ List<DartType> get typeVariables => _unsupported("typeVariables");
}
abstract class MemberElementMixin
@@ -1875,6 +1881,9 @@ abstract class ParameterElementZ extends DeserializedElementZ
@override
MemberElement get memberContext => executableContext.memberContext;
+
+ @override
+ List<DartType> get typeVariables => functionSignature.typeVariables;
}
class LocalParameterElementZ extends ParameterElementZ
« no previous file with comments | « pkg/compiler/lib/src/resolution/typedefs.dart ('k') | pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698