diff options
author | Paul Phillips <paulp@improving.org> | 2012-05-09 09:18:11 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-09 10:08:55 -0700 |
commit | e8e88f785d0020f215098450d16157e973673ba3 (patch) | |
tree | b8047970e45d6a2aaf574a71aeb4ca647d7a43fc /test/files/pos/t3234.scala | |
parent | d89ba7ff172e2f4ee12130d8caf8b9b74f581897 (diff) | |
download | scala-e8e88f785d0020f215098450d16157e973673ba3.tar.gz scala-e8e88f785d0020f215098450d16157e973673ba3.tar.bz2 scala-e8e88f785d0020f215098450d16157e973673ba3.zip |
Restored portion of code removed in a7f68ce32c .
A hole in the net discovered by retronym makes me put back the
former special casing of module class type inference; there's no
reason to get it wrong. It appears that
TypeRef(pre1, sym1, Nil)
SingleType(pre2, sym2)
are not seen as equivalent if they have different prefixes even
if the prefixes should be equivalent. For now I'm leaving it; in
principle this patch should eventually be reverted after subtyping
and/or the representation of singleton types advances to the point
that it isn't necessary. Closes SI-5777.
Diffstat (limited to 'test/files/pos/t3234.scala')
0 files changed, 0 insertions, 0 deletions