|
2 | 2 | "type": "File", |
3 | 3 | "start":0,"end":127,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":52}}, |
4 | 4 | "errors": [ |
5 | | - "SyntaxError: Export name can not include lone surrogate, but '\\ud800' is seen (2:16)" |
| 5 | + "SyntaxError: An export name cannot include a lone surrogate, found '\\ud800' (2:16)" |
6 | 6 | ], |
7 | 7 | "program": { |
8 | 8 | "type": "Program", |
|
56 | 56 | { |
57 | 57 | "type": "ExportNamedDeclaration", |
58 | 58 | "start":26,"end":58,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":32}}, |
| 59 | + "trailingComments": [ |
| 60 | + { |
| 61 | + "type": "CommentLine", |
| 62 | + "value": " should throw", |
| 63 | + "start":59,"end":74,"loc":{"start":{"line":2,"column":33},"end":{"line":2,"column":48}} |
| 64 | + } |
| 65 | + ], |
59 | 66 | "specifiers": [ |
60 | 67 | { |
61 | 68 | "type": "ExportSpecifier", |
|
77 | 84 | } |
78 | 85 | ], |
79 | 86 | "source": null, |
80 | | - "declaration": null, |
81 | | - "trailingComments": [ |
| 87 | + "declaration": null |
| 88 | + }, |
| 89 | + { |
| 90 | + "type": "ExportNamedDeclaration", |
| 91 | + "start":75,"end":107,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":32}}, |
| 92 | + "leadingComments": [ |
82 | 93 | { |
83 | 94 | "type": "CommentLine", |
84 | 95 | "value": " should throw", |
85 | 96 | "start":59,"end":74,"loc":{"start":{"line":2,"column":33},"end":{"line":2,"column":48}} |
86 | 97 | } |
87 | | - ] |
88 | | - }, |
89 | | - { |
90 | | - "type": "ExportNamedDeclaration", |
91 | | - "start":75,"end":107,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":32}}, |
| 98 | + ], |
| 99 | + "trailingComments": [ |
| 100 | + { |
| 101 | + "type": "CommentLine", |
| 102 | + "value": " should not throw", |
| 103 | + "start":108,"end":127,"loc":{"start":{"line":3,"column":33},"end":{"line":3,"column":52}} |
| 104 | + } |
| 105 | + ], |
92 | 106 | "specifiers": [ |
93 | 107 | { |
94 | 108 | "type": "ExportSpecifier", |
|
110 | 124 | } |
111 | 125 | ], |
112 | 126 | "source": null, |
113 | | - "declaration": null, |
114 | | - "leadingComments": [ |
115 | | - { |
116 | | - "type": "CommentLine", |
117 | | - "value": " should throw", |
118 | | - "start":59,"end":74,"loc":{"start":{"line":2,"column":33},"end":{"line":2,"column":48}} |
119 | | - } |
120 | | - ], |
121 | | - "trailingComments": [ |
122 | | - { |
123 | | - "type": "CommentLine", |
124 | | - "value": " should not throw", |
125 | | - "start":108,"end":127,"loc":{"start":{"line":3,"column":33},"end":{"line":3,"column":52}} |
126 | | - } |
127 | | - ] |
| 127 | + "declaration": null |
128 | 128 | } |
129 | 129 | ], |
130 | 130 | "directives": [] |
|
0 commit comments