Added tests.

This commit is contained in:
Daniel Rosenwasser 2015-05-27 14:56:30 -07:00
parent 711886e099
commit 456eedf432
5 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,8 @@
namespace C {
export interface type {
}
}
var x = class C {
prop: C.type;
}

View file

@ -0,0 +1,6 @@
interface arguments {
}
function f() {
<arguments>arguments;
}

View file

@ -0,0 +1,6 @@
interface f {
}
function f() {
<f>f;
}

View file

@ -0,0 +1,6 @@
interface arguments {
}
var x = function f() {
<arguments>arguments;
}

View file

@ -0,0 +1,6 @@
interface f {
}
var x = function f() {
<f>f;
}