Global.initConstructor and ScriptFunction.getPrototype(Object) can have stricter types

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b28
    • generic
    • generic

        ScriptFunction.getPrototype(Object) could be ScriptFunction.getPrototype(ScriptFunction). Also, Global.initConstructor could use generics to return ScriptObject or ScriptFunction to avoid explicit casts at call.

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: