Skip to content

Commit a693e82

Browse files
author
Arthur Ozga
committed
Added test
1 parent 1421c39 commit a693e82

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
abstract class A { }
2+
3+
// var AA: typeof A;
4+
var AAA: new() => A;
5+
6+
// AA = A; // okay
7+
AAA = A; // error.
8+
AAA = "asdf";

0 commit comments

Comments
 (0)