Added test for ASI concerns.
This commit is contained in:
parent
78e98c3784
commit
8e27f4693c
|
@ -18,3 +18,14 @@ const b = new tag<number> `${"hello"} ${"world"}`(100, 200);
|
|||
const c = new tag<number> `${100} ${200}`<string>("hello", "world");
|
||||
|
||||
const d = new tag<number> `${"hello"} ${"world"}`<string>(100, 200);
|
||||
|
||||
/**
|
||||
* Testing ASI. This should never parse as
|
||||
*
|
||||
* ```ts
|
||||
* new tag<number>;
|
||||
* `hello${369}`();
|
||||
* ```
|
||||
*/
|
||||
const e = new tag<number>
|
||||
`hello`();
|
Loading…
Reference in a new issue