diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-21 14:08:39 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-21 14:08:39 +0100 |
commit | 58b7b61fb8ffda09dbec4427476a47b4e3a505bc (patch) | |
tree | 10179fe6510d9d059cd8767f05ea0e4fe7f60e70 /src/dotty/tools/dotc/core/TypeOps.scala | |
parent | 3c2d0d752dcb690bd37622cf8593bc359d6b35aa (diff) | |
download | dotty-58b7b61fb8ffda09dbec4427476a47b4e3a505bc.tar.gz dotty-58b7b61fb8ffda09dbec4427476a47b4e3a505bc.tar.bz2 dotty-58b7b61fb8ffda09dbec4427476a47b4e3a505bc.zip |
More utility methods and split up filter
More utility methods in types. Also replaced Denotation#filter with a set of more useful operations.
Diffstat (limited to 'src/dotty/tools/dotc/core/TypeOps.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/TypeOps.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/TypeOps.scala b/src/dotty/tools/dotc/core/TypeOps.scala index f3193a95f..77038816e 100644 --- a/src/dotty/tools/dotc/core/TypeOps.scala +++ b/src/dotty/tools/dotc/core/TypeOps.scala @@ -73,7 +73,7 @@ trait TypeOps { this: Context => case tp: RefinedType => tp.parent.isVolatile || isAbstractIntersection(tp.parent) && - (tp.abstractMemberNames(tp) contains tp.name) + (tp.abstractMemberNames contains tp.name) case tp: TypeProxy => tp.underlying.isVolatile case AndType(l, r) => |