diff options
Diffstat (limited to 'test/files/run/tailcalls.scala')
-rw-r--r-- | test/files/run/tailcalls.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/tailcalls.scala b/test/files/run/tailcalls.scala index 3c1d96dd0b..037b8b41f8 100644 --- a/test/files/run/tailcalls.scala +++ b/test/files/run/tailcalls.scala @@ -215,7 +215,7 @@ object Test { if (n >= compat.Math.MAX_INT / 2) error("calibration failure"); n = 2 * n; } catch { - case exception: StackOverflowError => stop = true + case exception: compat.Platform.StackOverflowError => stop = true } } 4 * n; |