overload resolution bug

Resharper now has a subtle overload resolution bug - it considers methods declared at a base class together with methods declared at the derived class. This is wrong. Member lookup (that is, search for declaring type) should stop at the nearest declaring type.

The impact is that ctrl-B, alt-F7 etc. happily jump to the wrong places, as of build 249.

Also read

http://blogs.extremeoptimization.com/jeffrey/archive/2006/02/10/7134.aspx

for additional explanation, references, and examples.

1 comment
Comment actions Permalink

Hello Jirka,

it would be great if you submit this as a request to the tracker.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Resharper now has a subtle overload resolution bug - it considers
methods declared at a base class together with methods declared at the
derived class. This is wrong. Member lookup (that is, search for
declaring type) should stop at the nearest declaring type.

The impact is that ctrl-B, alt-F7 etc. happily jump to the wrong
places, as of build 249.

Also read

http://blogs.extremeoptimization.com/jeffrey/archive/2006/02/10/7134.a
spx

for additional explanation, references, and examples.



0

Please sign in to leave a comment.