-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
I noticed that raw strings from tagged templates are incorrect when we have nested templates like following (iojs 2.1.0, V8 4.2.77.20):
function tag(strings) {
return strings.raw
}
tag`1 ${ `2` } 3` // => expect [ '1', '3' ], but got [ '2', ' 3' ]
I test it in Chrome 43.0.2357.81 (V8 4.3.61.23) and works as expected.
Therefore, I guess it's a bug from V8 and it would be fixed when iojs upgrades to newer V8.
Metadata
Metadata
Assignees
Labels
v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.