diff options
author | Martin Odersky <odersky@gmail.com> | 2016-01-04 15:32:06 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-19 13:59:59 +0100 |
commit | d872d9ca54e9d56f563dc2e0bb002b38380af391 (patch) | |
tree | c8c6c47113318bd2aeac002f68d8ae77d4b4d164 /src/dotty/tools/dotc | |
parent | 46b7fc713da460023073c9a9d4d25fc2c7acf5e2 (diff) | |
download | dotty-d872d9ca54e9d56f563dc2e0bb002b38380af391.tar.gz dotty-d872d9ca54e9d56f563dc2e0bb002b38380af391.tar.bz2 dotty-d872d9ca54e9d56f563dc2e0bb002b38380af391.zip |
Remove unnecessary logic in toBounds
Diffstat (limited to 'src/dotty/tools/dotc')
-rw-r--r-- | src/dotty/tools/dotc/core/TypeApplications.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/TypeApplications.scala b/src/dotty/tools/dotc/core/TypeApplications.scala index e09328205..df842a1ef 100644 --- a/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/src/dotty/tools/dotc/core/TypeApplications.scala @@ -548,8 +548,11 @@ class TypeApplications(val self: Type) extends AnyVal { self case _ => val v = tparam.variance + /* Not neeeded. if (v > 0 && !(tparam is Local) && !(tparam is ExpandedTypeParam)) TypeBounds.upper(self) else if (v < 0 && !(tparam is Local) && !(tparam is ExpandedTypeParam)) TypeBounds.lower(self) + else + */ else TypeAlias(self, v) } |