summaryrefslogtreecommitdiff
path: root/lib/scala-reflect.jar.desired.sha1
diff options
context:
space:
mode:
authorAleksandar Prokopec <axel22@gmail.com>2012-06-07 19:59:49 +0200
committerAleksandar Prokopec <axel22@gmail.com>2012-06-07 20:43:26 +0200
commitdab1d0361ff74a2e4500255beba65389f44f34cc (patch)
tree66a4857ade783e600de355ef8648767cbddf78f8 /lib/scala-reflect.jar.desired.sha1
parent6cdb6b0299cb917ac3df9e39aa932bacdc31faf9 (diff)
downloadscala-dab1d0361ff74a2e4500255beba65389f44f34cc.tar.gz
scala-dab1d0361ff74a2e4500255beba65389f44f34cc.tar.bz2
scala-dab1d0361ff74a2e4500255beba65389f44f34cc.zip
Fix SI-5853.
This solves two issues. First, up to now the newly generated symbols for normalized members were not being added to the declaration list of the owner during `specialize`. Now they are. Second, during `extmethods`, the extension methods generated get an additional curried parameter list for `$this`. Trouble was, after that, during `uncurry` and before `specialize`, these curried parameter lists were merged into one list. Specialization afterwards treats extension methods just like normal methods and generates new symbols without the curried parameter list. The `extensionMethod` now takes this into account by checking if the first parameter of a potential extension method has the name `$this`. Review by @dragos. Review by @odersky.
Diffstat (limited to 'lib/scala-reflect.jar.desired.sha1')
0 files changed, 0 insertions, 0 deletions