mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-02 14:48:32 -05:00
Fixed issue where template expression in call expressions would emit with unnecessary parentheses.
Fixes #1205.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
`abc${0}abc`(`hello ${0} world`, ` `, `1${2}3`);
|
||||
@@ -0,0 +1,2 @@
|
||||
// @target: ES6
|
||||
`abc${0}abc`(`hello ${0} world`, ` `, `1${2}3`);
|
||||
@@ -0,0 +1 @@
|
||||
new `abc${0}abc`(`hello ${0} world`, ` `, `1${2}3`);
|
||||
@@ -0,0 +1,2 @@
|
||||
// @target: ES6
|
||||
new `abc${0}abc`(`hello ${0} world`, ` `, `1${2}3`);
|
||||
@@ -0,0 +1 @@
|
||||
`I AM THE ${ `${ `TAG` } ` } PORTION` `I ${ "AM" } THE TEMPLATE PORTION`
|
||||
@@ -0,0 +1,2 @@
|
||||
// @target: ES6
|
||||
`I AM THE ${ `${ `TAG` } ` } PORTION` `I ${ "AM" } THE TEMPLATE PORTION`
|
||||
Reference in New Issue
Block a user