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

Unified Diff: pkg/compiler/lib/src/resolution/typedefs.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 years, 11 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/resolution/typedefs.dart
diff --git a/pkg/compiler/lib/src/resolution/typedefs.dart b/pkg/compiler/lib/src/resolution/typedefs.dart
index 08d1f6ec8e33ed140fd143dcbcdaa031a92d0c38..90fc2c321b142b88b6e25a20dc40808872955631 100644
--- a/pkg/compiler/lib/src/resolution/typedefs.dart
+++ b/pkg/compiler/lib/src/resolution/typedefs.dart
@@ -69,11 +69,11 @@ class TypedefCyclicVisitor extends BaseDartTypeVisitor {
TypedefCyclicVisitor(this.reporter, this.element);
- visitType(DartType type, _) {
+ visitType(ResolutionDartType type, _) {
// Do nothing.
}
- visitTypedefType(TypedefType type, _) {
+ visitTypedefType(ResolutionTypedefType type, _) {
TypedefElementX typedefElement = type.element;
if (seenTypedefs.contains(typedefElement)) {
if (!hasCyclicReference && identical(element, typedefElement)) {
@@ -123,15 +123,15 @@ class TypedefCyclicVisitor extends BaseDartTypeVisitor {
}
}
- visitFunctionType(FunctionType type, _) {
+ visitFunctionType(ResolutionFunctionType type, _) {
type.visitChildren(this, null);
}
- visitInterfaceType(InterfaceType type, _) {
+ visitInterfaceType(ResolutionInterfaceType type, _) {
type.visitChildren(this, null);
}
- visitTypeVariableType(TypeVariableType type, _) {
+ visitTypeVariableType(ResolutionTypeVariableType type, _) {
TypeVariableElement typeVariableElement = type.element;
if (seenTypeVariables.contains(typeVariableElement)) {
// Avoid running in cycles on cyclic type variable bounds.
« no previous file with comments | « pkg/compiler/lib/src/resolution/type_resolver.dart ('k') | pkg/compiler/lib/src/serialization/constant_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698