| Index: lib/compiler/implementation/compiler.dart
|
| diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
|
| index 110d9d70608650a030bc9aa81822086d5f6a87b8..c4da37ca10402c7c3e13c30d25c9bca6253b9b1f 100644
|
| --- a/lib/compiler/implementation/compiler.dart
|
| +++ b/lib/compiler/implementation/compiler.dart
|
| @@ -152,6 +152,10 @@ class Compiler implements DiagnosticListener {
|
| return f();
|
| } catch (CompilerCancelledException ex) {
|
| throw;
|
| + } catch (StackOverflowException ex) {
|
| + // We cannot report anything useful in this case, because we
|
| + // do not have enough stack space.
|
| + throw;
|
| } catch (var ex) {
|
| unhandledExceptionOnElement(element);
|
| throw;
|
|
|