diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-12-21 22:40:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 22:40:36 +0100 |
commit | 404ce763d0f9ef82dae52e6aff3ec20950c67e29 (patch) | |
tree | e1c1b4ac13d26c214816b2f0582e573298c741f4 /tests/pos | |
parent | ee4f4a109b3ec3190886c75bb6d140087c33287d (diff) | |
parent | 9568eba6de7e881c6003dbfc95e46e6f83fa2e7b (diff) | |
download | dotty-404ce763d0f9ef82dae52e6aff3ec20950c67e29.tar.gz dotty-404ce763d0f9ef82dae52e6aff3ec20950c67e29.tar.bz2 dotty-404ce763d0f9ef82dae52e6aff3ec20950c67e29.zip |
Merge pull request #1826 from dotty-staging/fix-compile-stdlib
Make more parts of stdlib compile
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/hkwild.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/hkwild.scala b/tests/pos/hkwild.scala new file mode 100644 index 000000000..49bea7d01 --- /dev/null +++ b/tests/pos/hkwild.scala @@ -0,0 +1,6 @@ +class Test[T1](val x: T1) { + def invert[El1, CC1[X]](implicit w1: T1 <:< CC1[El1]) = { + val buf: CC1[_] = w1(x) + ??? + } +} |