aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2016-12-12 10:14:26 +0100
committerGitHub <noreply@github.com>2016-12-12 10:14:26 +0100
commit7775aab98ce98151d198e88bb676158f58f0cf57 (patch)
treecf42ecbf3f48283c6f34ba0d4a29c44edcd1851f /tests
parent740ccf85dbb67e01b9ff27f26542ecf95e874a13 (diff)
parent0d266ab909136c0bead951709a29958fede43408 (diff)
downloaddotty-7775aab98ce98151d198e88bb676158f58f0cf57.tar.gz
dotty-7775aab98ce98151d198e88bb676158f58f0cf57.tar.bz2
dotty-7775aab98ce98151d198e88bb676158f58f0cf57.zip
Merge pull request #1781 from dotty-staging/fix-#1776
Fix #1776: Avoid interaction between parameter forwarding and elimByName
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/i1776.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/i1776.scala b/tests/pos/i1776.scala
new file mode 100644
index 000000000..265ded0d8
--- /dev/null
+++ b/tests/pos/i1776.scala
@@ -0,0 +1,3 @@
+class X(val y: String)
+class Y(y: => String) extends X(y)
+class Z(z: => String) extends X(z)