source representation of getter and setter methods is wrong

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • b113
    • generic
    • generic

      jjs> function f(){ return Object.getOwnPropertyDescriptor({set ":"(a){}}, ":").set }f()

      Expected: include leading `"` in function source representation
      Actual: returns `:"(a){}`

      - Andre

      Even without funny names, simple getter, setter source representation leaves "set" and "get" - would be better to uniformly include "get" or "set" in source representation.

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

              Created:
              Updated:
              Resolved: