aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-01-07 15:19:06 +0100
committerGitHub <noreply@github.com>2017-01-07 15:19:06 +0100
commita909c2fc9e95a227553ce3b0decc3aeec28b5d57 (patch)
tree7dccc66be4a6ad9f13d572c86b66024a1e5f4a9c /tests/pos
parentbf9888edcd96f40f11260e6ad874eb27382f77ba (diff)
parent0ca3728c6c4eb77288958c5e69b73e9bc6ea7c8c (diff)
downloaddotty-a909c2fc9e95a227553ce3b0decc3aeec28b5d57.tar.gz
dotty-a909c2fc9e95a227553ce3b0decc3aeec28b5d57.tar.bz2
dotty-a909c2fc9e95a227553ce3b0decc3aeec28b5d57.zip
Merge pull request #1887 from dotty-staging/fix-#1867
Fix #1867: Set position of empty refined types
Diffstat (limited to 'tests/pos')
-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: {}
+}