Modified test, updated baselines.

This commit is contained in:
Daniel Rosenwasser committed 2015-05-06 16:37:59 -07:00
1 parent 89fa211d9e
commit 4bd8e809d6
5 files changed
+55 -3

No files matched your search

@@ -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'.
@@ -5,7 +5,6 @@
"test.ts"
],
"resolvedInputFiles": [
"lib.d.ts",
"test.ts"
],
"emittedFiles": [
@@ -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'.
@@ -5,7 +5,6 @@
"test.ts"
],
"resolvedInputFiles": [
"lib.d.ts",
"test.ts"
],
"emittedFiles": [
+1 -1
View File
@@ -1,4 +1,4 @@
// @noLib: true
/// <reference no-default-lib="true"/>
var x: Array<number>;