Chromium Code Reviews| Index: pkg/analyzer2dart/lib/src/semantic_visitor.dart |
| diff --git a/pkg/analyzer2dart/lib/src/semantic_visitor.dart b/pkg/analyzer2dart/lib/src/semantic_visitor.dart |
| index 80edf47e3a80edef408c86c3c6c5e8f53ddcea6c..0cc203c61280bd252a5ac87bc2adc56bf37039f7 100644 |
| --- a/pkg/analyzer2dart/lib/src/semantic_visitor.dart |
| +++ b/pkg/analyzer2dart/lib/src/semantic_visitor.dart |
| @@ -31,7 +31,7 @@ abstract class SemanticVisitor<R> extends RecursiveAstVisitor<R> { |
| } |
| if (!condition) { |
| reportMessage(node, message); |
| - throw new AssertionError(); |
| + return false; |
|
floitsch
2014/10/16 12:23:59
If that's not just debugging code, I would do it i
Johnni Winther
2014/10/16 13:01:26
It is only for debugging.
|
| } |
| return true; |
| } |