nashorn/test/script/nosecurity/JDK-8185252.js.EXPECTED
author hannesw
Thu, 10 Aug 2017 15:19:17 +0200
changeset 46169 b385216af0ed
permissions -rw-r--r--
8185252: Unary minus and plus use wrong node Kind Reviewed-by: sundar, hannesw Contributed-by: priya.lakshmi.muthuswamy@oracle.com

[
  {
    "expression": {
      "endPosition": "3",
      "kind": "NUMBER_LITERAL",
      "value": "1",
      "startPosition": "2"
    },
    "endPosition": "3",
    "kind": "UNARY_PLUS",
    "startPosition": "1"
  },
  {
    "expression": {
      "endPosition": "7",
      "kind": "NUMBER_LITERAL",
      "value": "1",
      "startPosition": "6"
    },
    "endPosition": "7",
    "kind": "UNARY_MINUS",
    "startPosition": "5"
  }
]