Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeImpl.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeImpl.java |
index fc3cf50c7c424943742e08b290869c6deacde516..d8f18e85fe84ca11750fc3f5e4110f02a2111bd7 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeImpl.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartTypeImpl.java |
@@ -13,6 +13,7 @@ |
*/ |
package com.google.dart.tools.core.internal.model; |
+import com.google.dart.compiler.util.StringInterner; |
import com.google.dart.tools.core.DartCore; |
import com.google.dart.tools.core.completion.CompletionRequestor; |
import com.google.dart.tools.core.internal.model.info.DartElementInfo; |
@@ -55,7 +56,7 @@ public class DartTypeImpl extends SourceReferenceImpl implements Type { |
*/ |
public DartTypeImpl(CompilationUnitImpl parent, String name) { |
super(parent); |
- this.name = name; |
+ this.name = StringInterner.intern(name); |
} |
@Override |