summaryrefslogtreecommitdiff
path: root/test/files/run/enums.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-11-02 08:46:39 +0000
committermihaylov <mihaylov@epfl.ch>2006-11-02 08:46:39 +0000
commit3e1e1e91bd3011ae46140f2698a578707103fe06 (patch)
tree8689732a129809698d197845233fd9e0a14eb204 /test/files/run/enums.scala
parentf187d8d4737064f063cc9fbc5b036979ecc8a40f (diff)
downloadscala-3e1e1e91bd3011ae46140f2698a578707103fe06.tar.gz
scala-3e1e1e91bd3011ae46140f2698a578707103fe06.tar.bz2
scala-3e1e1e91bd3011ae46140f2698a578707103fe06.zip
- added runtime.RichException with a getStackTr...
- added runtime.RichException with a getStackTraceString method (the - .NET version will be more extensive) added a split(c: Char) method to - RichString
Diffstat (limited to 'test/files/run/enums.scala')
-rw-r--r--test/files/run/enums.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/enums.scala b/test/files/run/enums.scala
index 239e2944d4..1fd7dfb6c4 100644
--- a/test/files/run/enums.scala
+++ b/test/files/run/enums.scala
@@ -64,7 +64,7 @@ object Test {
} catch {
case exception: Throwable => {
Console.print(" raised exception " + exception);
- compat.Platform.printStackTrace(exception);
+ exception.printStackTrace();
}
}
Console.println;