f1a2e41a8a
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.
12 lines
532 B
Plaintext
12 lines
532 B
Plaintext
lib.d.ts(29,18): error TS2300: Duplicate identifier 'eval'.
|
|
tests/cases/compiler/variableDeclarationInStrictMode1.ts(2,5): error TS1100: Invalid use of 'eval' in strict mode.
|
|
tests/cases/compiler/variableDeclarationInStrictMode1.ts(2,5): error TS2300: Duplicate identifier 'eval'.
|
|
|
|
|
|
==== tests/cases/compiler/variableDeclarationInStrictMode1.ts (2 errors) ====
|
|
"use strict";
|
|
var eval;
|
|
~~~~
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
~~~~
|
|
!!! error TS2300: Duplicate identifier 'eval'. |