TreeMaker.Params behaves inconsistently when the owning method has the same number of parameters as the number of parameter types requested

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 8
    • Component/s: tools
    • b15
    • generic
    • generic

      Normally TreeMaker.Params creates parameters of the types passed in. However, if the owner is a method, and the method happens to have the same number of parameters as the number of parameters requested, the types of the owner method's parameters are used.

      I believe this is a poorly designed dual use. It caused unexpected failures in code that used it when the parameter lengths happened to match.

            Assignee:
            Jan Lahoda
            Reporter:
            Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: