test/script/basic/parser/withStat.js.EXPECTED

Wed, 28 Jan 2015 17:58:08 +0100

author
attila
date
Wed, 28 Jan 2015 17:58:08 +0100
changeset 1226
8b3f832bea55
parent 0
b1a7da25b547
permissions
-rw-r--r--

8067139: Finally blocks inlined incorrectly
Reviewed-by: hannesw, lagergren

     1 {
     2     "type": "Program",
     3     "body": [
     4         {
     5             "type": "WithStatement",
     6             "object": {
     7                 "type": "Identifier",
     8                 "name": "scope"
     9             },
    10             "body": {
    11                 "type": "BlockStatement",
    12                 "body": [
    13                     {
    14                         "type": "ExpressionStatement",
    15                         "expression": {
    16                             "type": "AssignmentExpression",
    17                             "operator": "=",
    18                             "left": {
    19                                 "type": "Identifier",
    20                                 "name": "x"
    21                             },
    22                             "right": {
    23                                 "type": "Identifier",
    24                                 "name": "y"
    25                             }
    26                         }
    27                     }
    28                 ]
    29             }
    30         }
    31     ]
    32 }

mercurial