| Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| index bb615ba3b03f4b85fa1e60f8b8780aa503132402..aea700e14a613f28fb55767119aed87044f78714 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -36,6 +36,7 @@ import com.google.dart.compiler.ast.DartCascadeExpression;
|
| import com.google.dart.compiler.ast.DartCase;
|
| import com.google.dart.compiler.ast.DartCatchBlock;
|
| import com.google.dart.compiler.ast.DartClass;
|
| +import com.google.dart.compiler.ast.DartComment;
|
| import com.google.dart.compiler.ast.DartConditional;
|
| import com.google.dart.compiler.ast.DartContinueStatement;
|
| import com.google.dart.compiler.ast.DartDeclaration;
|
| @@ -1894,6 +1895,9 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
| && ((DartDeclaration<?>) node.getParent()).getName() == node) {
|
| return node.getType();
|
| }
|
| + if (node.getParent() instanceof DartComment) {
|
| + return dynamicType;
|
| + }
|
| Element element = node.getElement();
|
| Type type;
|
| switch (ElementKind.of(element)) {
|
|
|