Chromium Code Reviews| Index: lib/compiler/implementation/elements/elements.dart |
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart |
| index 8eb26d8a00f392d4332016bb66bbed4bbe3d6143..dfa13a9e9edd0d090049237b485e60755af5642a 100644 |
| --- a/lib/compiler/implementation/elements/elements.dart |
| +++ b/lib/compiler/implementation/elements/elements.dart |
| @@ -1482,9 +1482,7 @@ abstract class ClassElement extends ScopeContainerElement |
| SourceString normalizedName; |
| SourceString className = this.name; |
| SourceString constructorName = selector.name; |
| - if (!identical(constructorName, const SourceString('')) && |
|
ahe
2012/10/26 04:39:10
Actually, I think this should be ==, not identical
aam-me
2012/10/26 10:59:55
Done.
|
| - ((className == null) || |
| - (constructorName.slowToString() != className.slowToString()))) { |
| + if (!identical(constructorName, const SourceString(''))) { |
| normalizedName = Elements.constructConstructorName(className, |
| constructorName); |
| } else { |