Updated tests.

This commit is contained in:
Daniel Rosenwasser 2015-12-28 15:42:56 -05:00
parent c8b459f32c
commit 5f9983a698
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,3 @@
// @allowUnreachableCode: true
var f: (x: 'hi') => number = ('hi') => { return 1; };
var f: (x: 'hi') => number = (x: 'hi') => { return 1; };

View File

@ -1,5 +1,4 @@
// Specialized signatures must be a subtype of a non-specialized signature
// All the below should be errors
// @declaration: true
function foo(x: 'a');
function foo(x: number) { }