summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-05-23 09:59:44 -0700
committerPaul Phillips <paulp@improving.org>2013-05-23 12:07:18 -0700
commitb8641a97d669c945a1b9f47b4e8934aa6c98ffd7 (patch)
tree7d4e4b8d74b32749e2fa01f3d005431a167fe072 /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parent6256e22e705b0b8d61b1012289586650a67fdb9f (diff)
downloadscala-b8641a97d669c945a1b9f47b4e8934aa6c98ffd7.tar.gz
scala-b8641a97d669c945a1b9f47b4e8934aa6c98ffd7.tar.bz2
scala-b8641a97d669c945a1b9f47b4e8934aa6c98ffd7.zip
Avoid caching different types in TypeSymbol.
Try to prevent TypeSymbols from caching a different typeref for tpe_* and typeConstructor if the symbol is monomorphic. I find this undesirable: scala> AnyRefClass.tpe eq AnyRefClass.typeConstructor res0: Boolean = true scala> AnyRefClass.tpe eq AnyRefClass.typeConstructor res1: Boolean = false
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
0 files changed, 0 insertions, 0 deletions