diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-09-13 18:46:53 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-09-13 18:46:53 +1000 |
commit | a8a31e96dd115da09236a3d8f0d761f03db866fd (patch) | |
tree | b2e1406c418449e83a3b9c92309a7f9d75b66cef /test/files/pos | |
parent | 87ca181e7b6874cce734a4a40f90fe4af2391d97 (diff) | |
download | scala-a8a31e96dd115da09236a3d8f0d761f03db866fd.tar.gz scala-a8a31e96dd115da09236a3d8f0d761f03db866fd.tar.bz2 scala-a8a31e96dd115da09236a3d8f0d761f03db866fd.zip |
SI-8844 Fix regression with existentials + type aliases
Regressed in 2a1b15e / SI-8283. Another specimen of an archetypal
bug: unwanted dealising by using `typeSymbol`, rather than
`typeSymbolDirect`.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t8844.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t8844.scala b/test/files/pos/t8844.scala new file mode 100644 index 0000000000..d33c520d1b --- /dev/null +++ b/test/files/pos/t8844.scala @@ -0,0 +1,4 @@ +object Example { + type S[A] = String + def foo(s: S[_]): String = s +} |