This was we don't get noisy baselines just because a different phase of the compiler reported the diagnostic. This helps with Yui's refactoring work to move grammar checks into the type checker.
24 lines
No EOL
1.1 KiB
Text
24 lines
No EOL
1.1 KiB
Text
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'.
|
|
|
|
|
|
!!! 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'.
|
|
==== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts (0 errors) ====
|
|
/// <style requireSemi="on" />
|
|
/// <reference no-default-lib="true"/>
|
|
declare function foo(): void;
|
|
declare function bar(): void;
|
|
|