Chromium Code Reviews| Index: lib/compiler/implementation/dart_backend/placeholder_collector.dart |
| diff --git a/lib/compiler/implementation/dart_backend/placeholder_collector.dart b/lib/compiler/implementation/dart_backend/placeholder_collector.dart |
| index e4813c71903645dea9d6e8e612ea50e4205624be..4c958bd768725333d6af2cc0ce3a26bd3bff1ac2 100644 |
| --- a/lib/compiler/implementation/dart_backend/placeholder_collector.dart |
| +++ b/lib/compiler/implementation/dart_backend/placeholder_collector.dart |
| @@ -222,16 +222,6 @@ class PlaceholderCollector extends AbstractVisitor { |
| }); |
| } |
| - Type resolveType(TypeAnnotation typeAnnotation) { |
|
Roman
2012/08/21 07:47:13
This method should be used in visitTypeAnnotation
Anton Muhin
2012/08/21 13:17:57
There are enough of hacks in visitTypeAnnotation,
|
| - if (treeElements === null) return null; |
| - var result = treeElements.getType(typeAnnotation); |
| - // TODO: Have better type resolution. |
| - if (result === null) { |
| - result = compiler.resolveTypeAnnotation(currentElement, typeAnnotation); |
| - } |
| - return result; |
| - } |
| - |
| void tryMakePrivateIdentifier(Identifier identifier) { |
| if (identifier.source.isPrivate()) makePrivateIdentifier(identifier); |
| } |