diff options
author | Martin Odersky <odersky@gmail.com> | 2013-01-28 15:55:33 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-01-28 15:55:33 +0100 |
commit | 0aac7396c3eda56375c15568b81f48262d47d35b (patch) | |
tree | 765f19657ff4d2113d93e6b8553dc95605b23af0 /src/dotty/tools/dotc/core/TypeOps.scala | |
parent | 9a8a439d059b52d37b317059e66d04ccced1d05c (diff) | |
download | dotty-0aac7396c3eda56375c15568b81f48262d47d35b.tar.gz dotty-0aac7396c3eda56375c15568b81f48262d47d35b.tar.bz2 dotty-0aac7396c3eda56375c15568b81f48262d47d35b.zip |
Consolidation of Symbols
Diffstat (limited to 'src/dotty/tools/dotc/core/TypeOps.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/TypeOps.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/TypeOps.scala b/src/dotty/tools/dotc/core/TypeOps.scala index 25c8625ec..5e25ab4a9 100644 --- a/src/dotty/tools/dotc/core/TypeOps.scala +++ b/src/dotty/tools/dotc/core/TypeOps.scala @@ -1,6 +1,6 @@ package dotty.tools.dotc.core -import Contexts._, Types._, Symbols._, Names._ +import Contexts._, Types._, Symbols._, Names._, Flags._ trait TypeOps { this: Context => @@ -31,7 +31,7 @@ trait TypeOps { this: Context => if (pre1 eq pre0) tp else { val tp1 = NamedType(pre1, tp.name) - if (sym.isTypeParameter) { + if (sym is TypeParam) { // short-circuit instantiated type parameters // by replacing pre.tp with its alias, if it has one. val tp2 = tp1.info |