Move grammar checking: type parameters

This commit is contained in:
Yui T
2014-12-09 16:33:20 -08:00
parent 2c575dae27
commit afcf11545c
2 changed files with 6 additions and 30 deletions

View File

@@ -23,7 +23,7 @@ tests/cases/compiler/typeParameterConstraints1.ts(12,26): error TS2304: Cannot f
~
!!! error TS1110: Type expected.
function foo10<T extends (1)> (test: T) { }
~
~~~
!!! error TS1110: Type expected.
function foo11<T extends null> (test: T) { }
~~~~