diff options
author | Martin Odersky <odersky@gmail.com> | 2015-12-03 09:45:54 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-12-06 16:09:21 +0100 |
commit | 56e63ed4b081c0e4696a475aa4a468baa6491e4a (patch) | |
tree | a3f082105efea0e24bfd2d599d316e75caf3fb03 /src/dotty/tools/dotc/core/TypeApplications.scala | |
parent | 261087a97fc981dbc5cd2c57eab736aca668c3bc (diff) | |
download | dotty-56e63ed4b081c0e4696a475aa4a468baa6491e4a.tar.gz dotty-56e63ed4b081c0e4696a475aa4a468baa6491e4a.tar.bz2 dotty-56e63ed4b081c0e4696a475aa4a468baa6491e4a.zip |
Don't recognize type bounds as lambda abstractions
Printing bounds omits the "<:" otherwise.
Diffstat (limited to 'src/dotty/tools/dotc/core/TypeApplications.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/TypeApplications.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/TypeApplications.scala b/src/dotty/tools/dotc/core/TypeApplications.scala index 3cd9727e7..c6abc9360 100644 --- a/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/src/dotty/tools/dotc/core/TypeApplications.scala @@ -66,8 +66,6 @@ object TypeApplications { val variances = cls.typeParams.map(_.variance) val argBounds = prefix.argInfos.map(_.bounds) Some((variances, argBounds, app.refinedInfo)) - case TypeBounds(lo, hi) => - unapply(hi) case _ => None } |