REPL: sanitize stack traces
Don't include our compiler's and preloader's internal code, reflection, native methods etc. Also delete "substring" matching logic from tests
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
>>> throw Exception("hi there")
|
||||
substring: Exception: hi there
|
||||
java.lang.Exception: hi there
|
||||
at Line1.<init>(Unknown Source)
|
||||
>>> fun foo() = 2
|
||||
>>> foo()
|
||||
2
|
||||
>>> fun bar() = throw AssertionError()
|
||||
>>> bar()
|
||||
java.lang.AssertionError
|
||||
at Line4.bar(Unknown Source)
|
||||
at Line5.<init>(Unknown Source)
|
||||
|
||||
Reference in New Issue
Block a user