Details
-
Bug
-
Resolution: Fixed
-
P2
-
None
-
None
-
b86
-
Verified
Description
Passing null spoils overloaded method resolution at invocation time. Previous strategy was to use the static call site type as the type of a null argument, but that was wrong - the possible overloads are already narrowed at link time to those matching static types at the call site. Instead, a new class value representing null and matching any reference type has to be used.