Open
Description
let foo = (function() { return 1; })
(function() { return 1; })()
Cause by Reflect.parse
weirdness - the opening parenthesis is not included in the span..:
let code = `(function() { return 1; })`;
let body = Reflect.parse (code, {line: 0})
let lines = code.split('\n')
span(lines, body.body[0].loc)
// "function() { return 1; })"
Not trivial to to work around unfortunately.