aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-01-04 08:57:48 +0700
committerMartin Odersky <odersky@gmail.com>2017-01-04 08:57:58 +0700
commit0ca3728c6c4eb77288958c5e69b73e9bc6ea7c8c (patch)
tree52fdc767c3ec21892cbe6f1f709187885725b6c8 /tests
parent39c27b6a8aaa2c7303db54011082246ada06c0a0 (diff)
downloaddotty-0ca3728c6c4eb77288958c5e69b73e9bc6ea7c8c.tar.gz
dotty-0ca3728c6c4eb77288958c5e69b73e9bc6ea7c8c.tar.bz2
dotty-0ca3728c6c4eb77288958c5e69b73e9bc6ea7c8c.zip
Fix #1867: Set position of empty refined types
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/i1867.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/i1867.scala b/tests/pos/i1867.scala
new file mode 100644
index 000000000..b6377c4f0
--- /dev/null
+++ b/tests/pos/i1867.scala
@@ -0,0 +1,3 @@
+trait B {
+ def f1: {}
+}