diff options
-rw-r--r-- | test/files/presentation/t4287.check | 11 | ||||
-rw-r--r-- | test/files/presentation/t4287/Test.scala | 3 | ||||
-rw-r--r-- | test/files/presentation/t4287/src/Foo.scala | 5 |
3 files changed, 19 insertions, 0 deletions
diff --git a/test/files/presentation/t4287.check b/test/files/presentation/t4287.check new file mode 100644 index 0000000000..80c3e2fb23 --- /dev/null +++ b/test/files/presentation/t4287.check @@ -0,0 +1,11 @@ +reload: Foo.scala + +askHyperlinkPos for `f ` at (1,24) Foo.scala +================================================================================ +[response] found askHyperlinkPos for `f ` at (1,15) Foo.scala +================================================================================ + +askHyperlinkPos for `f ` at (1,31) Foo.scala +================================================================================ +[response] found askHyperlinkPos for `f ` at (1,15) Foo.scala +================================================================================ diff --git a/test/files/presentation/t4287/Test.scala b/test/files/presentation/t4287/Test.scala new file mode 100644 index 0000000000..bec1131c4c --- /dev/null +++ b/test/files/presentation/t4287/Test.scala @@ -0,0 +1,3 @@ +import scala.tools.nsc.interactive.tests.InteractiveTest + +object Test extends InteractiveTest
\ No newline at end of file diff --git a/test/files/presentation/t4287/src/Foo.scala b/test/files/presentation/t4287/src/Foo.scala new file mode 100644 index 0000000000..a744eaabe2 --- /dev/null +++ b/test/files/presentation/t4287/src/Foo.scala @@ -0,0 +1,5 @@ +class Baz(val f: Int = B/*#*/.a/*#*/) + +object B { + val a = 2 +} |