Overloaded method resolution foiled by nulls

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b86
    • Verified

      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.

            Assignee:
            Attila Szegedi
            Reporter:
            Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: