Added test in case 'super' is ever possibly parsed as a tagged template string.

This commit is contained in:
Daniel Rosenwasser
2018-04-19 15:16:25 -07:00
parent e21a8b8cfd
commit 7f96fec9d9
@@ -28,4 +28,14 @@ const d = new tag<number> `${"hello"} ${"world"}`<string>(100, 200);
* ```
*/
const e = new tag<number>
`hello`();
`hello`();
class SomeBase<A, B, C> {
a!: A; b!: B; c!: C;
}
class SomeDerived<T> extends SomeBase<number, string, T> {
constructor() {
super<number, string, T> `hello world`;
}
}