diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-01-16 15:11:31 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-01-16 16:09:10 +0100 |
commit | d9d6494fa7704ebacfa74e92a964381895bbf8d4 (patch) | |
tree | a299b9ab3813e57a6bdb925f4ed130489ed79675 /test/files/pos/t267.scala | |
parent | 766bb97114b5932b75340a9169558de61899997e (diff) | |
download | scala-d9d6494fa7704ebacfa74e92a964381895bbf8d4.tar.gz scala-d9d6494fa7704ebacfa74e92a964381895bbf8d4.tar.bz2 scala-d9d6494fa7704ebacfa74e92a964381895bbf8d4.zip |
SI-6976 Fix value class separate compilation crasher.
We can't guarantee that the owner of the value class
is initialized, and if it isn't, the search for the
companion module will turn up bubkis.
This is a localized fix, but I'd be suprised if there
weren't other places that suffered from the same problem.
Wouldn't it be nicer to have something like:
// doesn't force info
sym.raw.info
sym.raw.companionModule
// forces info
sym.info
sym.companionModule
Diffstat (limited to 'test/files/pos/t267.scala')
0 files changed, 0 insertions, 0 deletions