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 bbce5fe1198fe99f3cb7b9c3c426169c39b7c22a..9aa6409e5d89c9dbe5428344afe2c79f9b314bc2 100644 |
--- a/sdk/lib/_internal/compiler/implementation/typechecker.dart |
+++ b/sdk/lib/_internal/compiler/implementation/typechecker.dart |
@@ -364,7 +364,7 @@ class TypeCheckerVisitor extends Visitor<DartType> { |
void checkTypePromotion(Node node, TypePromotion typePromotion, |
{bool checkAccesses: false}) { |
VariableElement variable = typePromotion.variable; |
- SourceString variableName = variable.name; |
+ String variableName = variable.name; |
List<Node> potentialMutationsIn = |
elements.getPotentialMutationsIn(node, variable); |
if (!potentialMutationsIn.isEmpty) { |
@@ -932,7 +932,7 @@ class TypeCheckerVisitor extends Visitor<DartType> { |
TypePromotion typePromotion = |
new TypePromotion(node, variable, shownType); |
if (!types.isMoreSpecific(shownType, knownType)) { |
- SourceString variableName = variable.name; |
+ String variableName = variable.name; |
if (types.isMoreSpecific(shownType.asRaw(), knownType)) { |
//trace('$node'); |
typePromotion.addHint(node, |