diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-10-14 16:35:35 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-10-15 08:15:01 +0200 |
commit | e96d1a4d346b1ebac46796307a0887d7b7c4fccf (patch) | |
tree | 591ac2ba479c358b2913d1bf5d5f912934cb1833 /test/files/run/t4742.scala | |
parent | 2b5df373638d08204b71258928289f6b39e25d5f (diff) | |
download | scala-e96d1a4d346b1ebac46796307a0887d7b7c4fccf.tar.gz scala-e96d1a4d346b1ebac46796307a0887d7b7c4fccf.tar.bz2 scala-e96d1a4d346b1ebac46796307a0887d7b7c4fccf.zip |
SI-8907 Don't force symbol info in isModuleNotMethod
Test case by Jason.
RefChecks adds the lateMETHOD flag lazily in its info transformer.
This means that forcing the `sym.info` may change the value of
`sym.isMethod`.
0ccdb151f introduced a check to force the info in isModuleNotMethod,
but it turns out this leads to errors on stub symbols (SI-8907).
The responsibility to force info is transferred to callers, which
is the case for other operations on symbols, too.
Diffstat (limited to 'test/files/run/t4742.scala')
0 files changed, 0 insertions, 0 deletions