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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart

Issue 21511003: Support symbol literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 3 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: sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart b/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
index e835be074bad7b720823edd50d017799c647c312..1c37fa507d7fe0cb8c798e419af4740138644228 100644
--- a/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart
@@ -638,6 +638,10 @@ abstract class InferrerVisitor
return types.nullType;
}
+ T visitLiteralSymbol(LiteralSymbol node) {
+ return types.nonNullExact(compiler.symbolClass.rawType);
ngeoffray 2013/09/04 07:14:17 Please change this to actually use types.symbolTyp
+ }
+
T visitTypeReferenceSend(Send node) {
return types.typeType;
}

Powered by Google App Engine
This is Rietveld 408576698