diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-04-16 11:27:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 11:27:58 +0200 |
commit | ab124cb8cda3ab65b0195f1a7f74006c24ebe7ab (patch) | |
tree | 304aa7841c4102c083ba2b8b941cf8c7769d8035 /tests/repl/imports.check | |
parent | f20ca3d358c650f6a58528018aa7d848b1f6a28f (diff) | |
parent | da3d8b2bcb42c14251ba13658038c7708f63d6b0 (diff) | |
download | dotty-ab124cb8cda3ab65b0195f1a7f74006c24ebe7ab.tar.gz dotty-ab124cb8cda3ab65b0195f1a7f74006c24ebe7ab.tar.bz2 dotty-ab124cb8cda3ab65b0195f1a7f74006c24ebe7ab.zip |
Merge pull request #2268 from dotty-staging/topic/add-line-col
Render line and col in error message for clickability
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r-- | tests/repl/imports.check | 6 |
1 files changed, 3 insertions, 3 deletions
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: <console> --------------------------------------- +-- [E007] Type Mismatch Error: <console>: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: <console> ------------------------------------------------------------ +-- Error: <console>:8:12 ------------------------------------------------------- 8 |import util.foo | ^^^ | foo is not a member of util scala> import util.foo.bar --- [E008] Member Not Found Error: <console> ------------------------------------ +-- [E008] Member Not Found Error: <console>:8:12 ------------------------------- 8 |import util.foo.bar | ^^^^^^^^ | value `foo` is not a member of util.type - did you mean `util.Left`? |