* Adds related spans and error grouping for duplicate identifier errors * Trim trailing whitespace * Record related info in error baselines * Make error more whimsical
12 lines
215 B
TypeScript
12 lines
215 B
TypeScript
// @pretty: true
|
|
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @Filename: mod1.js
|
|
|
|
/** @typedef {number} Foo */
|
|
class Bar {}
|
|
|
|
// @Filename: mod2.js
|
|
class Foo { } // should error
|
|
const Bar = 3;
|