Chromium Code Reviews| Index: lib/compiler/implementation/ssa/builder.dart |
| diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart |
| index c3deabd100b724d52d9546d5d613a49114ed22b0..c895e244f727ecc967faef3298e07cc68c83daca 100644 |
| --- a/lib/compiler/implementation/ssa/builder.dart |
| +++ b/lib/compiler/implementation/ssa/builder.dart |
| @@ -3197,8 +3197,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
| HInstruction exception = rethrowableException; |
| if (exception === null) { |
| exception = graph.addConstantNull(constantSystem); |
| - compiler.reportError(node, |
| - 'throw without expression outside catch block'); |
| + compiler.reportError(node, MessageKind.THROW_WITHOUT_EXPRESSION); |
|
ahe
2012/10/03 09:57:39
This would be an internal error now.
Roman
2012/10/03 10:07:34
Done. I also changed the wording to 'rethrowableEx
|
| } |
| close(new HThrow(exception, isRethrow: true)); |
| } else { |