future strict names are allowed as function name and argument name of a strict function

XMLWordPrintable

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

      jjs> function public(){"use strict"}

      Expected: throws strict-mode SyntaxError
      Actual: no error

      jjs> function f(public){"use strict"}

      Expected: throws strict-mode SyntaxError
      Actual: no error

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

              Created:
              Updated:
              Resolved: