aboutsummaryrefslogtreecommitdiff
path: root/tests/repl
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-12-23 15:49:15 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-01-28 19:12:19 +0100
commit51a458efeeebfeed6c357d56cf8afe5b06e86724 (patch)
treef9ecc004ec43a08cc7247ef2f8784545ff32250c /tests/repl
parentdc5ba9d2ba31b2fe27f5b967c9fb800bc9210a93 (diff)
downloaddotty-51a458efeeebfeed6c357d56cf8afe5b06e86724.tar.gz
dotty-51a458efeeebfeed6c357d56cf8afe5b06e86724.tar.bz2
dotty-51a458efeeebfeed6c357d56cf8afe5b06e86724.zip
Workaround #1895: Bringing a symbol to a new run is broken
Diffstat (limited to 'tests/repl')
-rw-r--r--tests/repl/vc.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/repl/vc.check b/tests/repl/vc.check
new file mode 100644
index 000000000..e2c9b65fd
--- /dev/null
+++ b/tests/repl/vc.check
@@ -0,0 +1,5 @@
+scala> class Foo(x: Int) extends AnyVal { def hi: Int = 1 }
+defined class Foo
+scala> new Foo(1).hi
+val res0: Int = 1
+scala> :quit