| Index: sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/typechecker.dart b/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| index 4b314595bbc3f314be471dafeef880b1f465eb51..996b53767321f9c488d966d13d95aab9b4fdcd8f 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| @@ -966,6 +966,10 @@ class TypeCheckerVisitor extends Visitor<DartType> {
|
| return types.dynamicType;
|
| }
|
|
|
| + DartType visitLiteralSymbol(LiteralSymbol node) {
|
| + return compiler.symbolClass.computeType(compiler);
|
| + }
|
| +
|
| DartType computeConstructorType(Element constructor, DartType type) {
|
| if (Elements.isUnresolved(constructor)) return types.dynamicType;
|
| DartType constructorType = constructor.computeType(compiler);
|
|
|