diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-05-23 10:12:41 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-05-23 22:55:54 -0700 |
commit | 5450ae6102eaeb8ec0f9b524bf43ac5f604b5074 (patch) | |
tree | 6742327c6184008a885b6cfb98cf96b21e597033 /test | |
parent | 869df338617f2210217827c83d3ef9dc6d810e65 (diff) | |
download | scala-5450ae6102eaeb8ec0f9b524bf43ac5f604b5074.tar.gz scala-5450ae6102eaeb8ec0f9b524bf43ac5f604b5074.tar.bz2 scala-5450ae6102eaeb8ec0f9b524bf43ac5f604b5074.zip |
SI-7898 Report paste errors improvedly
Use a "label" for errors, so that script names are shown.
Position is still wrong for scripts in REPL.
Initial scripts are run with `ILoop.echo` and results printing
turned off, but reporter still enabled.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t9170.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t9170.scala b/test/files/run/t9170.scala index f39467bc25..87471fb129 100644 --- a/test/files/run/t9170.scala +++ b/test/files/run/t9170.scala @@ -44,7 +44,7 @@ object Y { // Exiting paste mode, now interpreting. -<console>:13: error: double definition: +<pastie>:13: error: double definition: def f[A](a: => A): Int at line 12 and def f[A](a: => Either[Exception,A]): Int at line 13 have same type after erasure: (a: Function0)Int |