Skip to content
Snippets Groups Projects
Commit 4203261b authored by Josh Wolfe's avatar Josh Wolfe Committed by Leo Balter
Browse files

add line feed following `{` of F.p.toString output for dynamic functions (#847)

This is a continuation of 4a5c52be.
parent 8a0563dd
No related branches found
No related tags found
No related merge requests found
......@@ -12,4 +12,4 @@ features: [async-functions]
async function f() {}
var AsyncFunction = f.constructor;
var g = /* before */AsyncFunction("a", " /* a */ b, c /* b */ //", "/* c */ ; /* d */ //")/* after */;
assert.sameValue(g.toString(), "async function anonymous(a, /* a */ b, c /* b */ //\n) {/* c */ ; /* d */ //\n}");
assert.sameValue(g.toString(), "async function anonymous(a, /* a */ b, c /* b */ //\n) {\n/* c */ ; /* d */ //\n}");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment