From da3d8b2bcb42c14251ba13658038c7708f63d6b0 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Sun, 16 Apr 2017 10:53:09 +0200 Subject: Render line and col in error message for clickability --- tests/repl/imports.check | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/repl/imports.check') diff --git a/tests/repl/imports.check b/tests/repl/imports.check index 345fac142..12056280f 100644 --- a/tests/repl/imports.check +++ b/tests/repl/imports.check @@ -7,7 +7,7 @@ defined module o scala> import o._ import o._ scala> buf += xs --- [E007] Type Mismatch Error: --------------------------------------- +-- [E007] Type Mismatch Error: :11:7 ---------------------------------- 11 |buf += xs | ^^ | found: scala.collection.immutable.List[Int](o.xs) @@ -16,12 +16,12 @@ scala> buf += xs scala> buf ++= xs val res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3) scala> import util.foo --- Error: ------------------------------------------------------------ +-- Error: :8:12 ------------------------------------------------------- 8 |import util.foo | ^^^ | foo is not a member of util scala> import util.foo.bar --- [E008] Member Not Found Error: ------------------------------------ +-- [E008] Member Not Found Error: :8:12 ------------------------------- 8 |import util.foo.bar | ^^^^^^^^ | value `foo` is not a member of util.type - did you mean `util.Left`? -- cgit v1.2.3