Modified test, updated baselines.

This commit is contained in:
Daniel Rosenwasser
2015-05-06 16:37:59 -07:00
parent 89fa211d9e
commit 4bd8e809d6
5 changed files with 55 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
error TS2318: Cannot find global type 'String'.
error TS2318: Cannot find global type 'RegExp'.
error TS2318: Cannot find global type 'Object'.
error TS2318: Cannot find global type 'Number'.
error TS2318: Cannot find global type 'IArguments'.
error TS2318: Cannot find global type 'Function'.
error TS2318: Cannot find global type 'Boolean'.
error TS2318: Cannot find global type 'Array'.
test.ts(3,8): error TS2304: Cannot find name 'Array'.
!!! error TS2318: Cannot find global type 'String'.
!!! error TS2318: Cannot find global type 'RegExp'.
!!! error TS2318: Cannot find global type 'Object'.
!!! error TS2318: Cannot find global type 'Number'.
!!! error TS2318: Cannot find global type 'IArguments'.
!!! error TS2318: Cannot find global type 'Function'.
!!! error TS2318: Cannot find global type 'Boolean'.
!!! error TS2318: Cannot find global type 'Array'.
==== test.ts (1 errors) ====
/// <reference no-default-lib="true"/>
var x: Array<number>;
~~~~~
!!! error TS2304: Cannot find name 'Array'.

View File

@@ -5,7 +5,6 @@
"test.ts"
],
"resolvedInputFiles": [
"lib.d.ts",
"test.ts"
],
"emittedFiles": [

View File

@@ -0,0 +1,27 @@
error TS2318: Cannot find global type 'String'.
error TS2318: Cannot find global type 'RegExp'.
error TS2318: Cannot find global type 'Object'.
error TS2318: Cannot find global type 'Number'.
error TS2318: Cannot find global type 'IArguments'.
error TS2318: Cannot find global type 'Function'.
error TS2318: Cannot find global type 'Boolean'.
error TS2318: Cannot find global type 'Array'.
test.ts(3,8): error TS2304: Cannot find name 'Array'.
!!! error TS2318: Cannot find global type 'String'.
!!! error TS2318: Cannot find global type 'RegExp'.
!!! error TS2318: Cannot find global type 'Object'.
!!! error TS2318: Cannot find global type 'Number'.
!!! error TS2318: Cannot find global type 'IArguments'.
!!! error TS2318: Cannot find global type 'Function'.
!!! error TS2318: Cannot find global type 'Boolean'.
!!! error TS2318: Cannot find global type 'Array'.
==== test.ts (1 errors) ====
/// <reference no-default-lib="true"/>
var x: Array<number>;
~~~~~
!!! error TS2304: Cannot find name 'Array'.

View File

@@ -5,7 +5,6 @@
"test.ts"
],
"resolvedInputFiles": [
"lib.d.ts",
"test.ts"
],
"emittedFiles": [

View File

@@ -1,4 +1,4 @@
// @noLib: true
/// <reference no-default-lib="true"/>
var x: Array<number>;