diff options
author | Paul Phillips <paulp@improving.org> | 2013-05-23 09:59:44 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-05-23 12:07:18 -0700 |
commit | b8641a97d669c945a1b9f47b4e8934aa6c98ffd7 (patch) | |
tree | 7d4e4b8d74b32749e2fa01f3d005431a167fe072 /test/files | |
parent | 6256e22e705b0b8d61b1012289586650a67fdb9f (diff) | |
download | scala-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 'test/files')
0 files changed, 0 insertions, 0 deletions