diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-21 21:44:41 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-21 21:44:41 +0100 |
commit | 008d440d5ff36dc62e1c6a366752cfc49e87461e (patch) | |
tree | f01598d5eafb784bb2621aff4511202da7baab69 /src/dotty/tools/dotc/core/TypeOps.scala | |
parent | 40dbdbc148d4244ba58a9de81dc36eae0a7f853f (diff) | |
download | dotty-008d440d5ff36dc62e1c6a366752cfc49e87461e.tar.gz dotty-008d440d5ff36dc62e1c6a366752cfc49e87461e.tar.bz2 dotty-008d440d5ff36dc62e1c6a366752cfc49e87461e.zip |
Misc fixes to typed trees, flags, and elsewhere.
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 77038816e..71bc9f801 100644 --- a/src/dotty/tools/dotc/core/TypeOps.scala +++ b/src/dotty/tools/dotc/core/TypeOps.scala @@ -61,7 +61,7 @@ trait TypeOps { this: Context => final def isVolatile(tp: Type): Boolean = { def isAbstractIntersection(tp: Type): Boolean = tp match { - case tp: TypeRef => tp.isAbstractType + case tp: TypeRef => tp.symbol.isAbstractType case AndType(l, r) => isAbstractIntersection(l) | isAbstractIntersection(l) case OrType(l, r) => isAbstractIntersection(l) & isAbstractIntersection(r) case _ => false |