diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2017-03-18 19:50:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-18 19:50:16 +0100 |
commit | 215c13408f7709c416baf561c513159622f10ba5 (patch) | |
tree | a186ebcfd2bc648b1e3f7cf9b58dbba57e5cd88a /tests | |
parent | 3ec16c78bd8a90f1205bb9047969ab3fd9e8dd75 (diff) | |
parent | 675892a4aaa77a4e71faa6057b4a0a059acb408d (diff) | |
download | dotty-215c13408f7709c416baf561c513159622f10ba5.tar.gz dotty-215c13408f7709c416baf561c513159622f10ba5.tar.bz2 dotty-215c13408f7709c416baf561c513159622f10ba5.zip |
Merge pull request #2110 from dotty-staging/fix/reduce-more-lambdas
Reduce type lambdas even if variance changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/hk-reduce-variance.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/hk-reduce-variance.scala b/tests/pos/hk-reduce-variance.scala new file mode 100644 index 000000000..c69777992 --- /dev/null +++ b/tests/pos/hk-reduce-variance.scala @@ -0,0 +1,3 @@ +class Cov[+A](a: A) { + def foo = Seq(a) +} |