diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-08-06 19:37:07 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-06 23:09:33 +0200 |
commit | 7bcb9da47362ba862a695f7c82c0095a8205e3e2 (patch) | |
tree | f3434a982cb3104a1abc7f1fd3f4751f5e896da7 /lib | |
parent | 3cbe07f3e3ddb7201d1d174399d14d4a69df52fd (diff) | |
download | scala-7bcb9da47362ba862a695f7c82c0095a8205e3e2.tar.gz scala-7bcb9da47362ba862a695f7c82c0095a8205e3e2.tar.bz2 scala-7bcb9da47362ba862a695f7c82c0095a8205e3e2.zip |
mirrors now support overriden fields and methods
Previously `checkMemberOf` was blocking base fields and methods
that are overriden in receiver.getClass. Now this is fixed.
The fix also uncovered an issue with field mirrors. Currently
their `get` and `set` methods don't respect overriding and always
return field values from a base class.
After discussing this on a reflection meeting, we decided that this
behavior is desirable and that for overriding people should use
reflectMethod and then apply on getters/setters. See the discussion at:
https://github.com/scala/scala/pull/1054.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions