Skip to content

Commit

Permalink
tabs lol
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanCavanaugh committed Jan 23, 2025
1 parent be992fa commit 0d6a34e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions tests/baselines/reference/erasableSyntaxOnly.errors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ erasableSyntaxOnly.ts(3,17): error TS1294: This syntax is not allowed when 'eras
erasableSyntaxOnly.ts(6,11): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(10,11): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(16,11): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(17,12): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(17,15): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(22,6): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(26,1): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
erasableSyntaxOnly.ts(28,12): error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
Expand Down Expand Up @@ -33,11 +33,11 @@ erasableSyntaxOnly.ts(28,12): error TS1294: This syntax is not allowed when 'era
namespace IllegalBecauseNestedInstantiated {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
namespace Nested {
~~~~~~
namespace Nested {
~~~~~~
!!! error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
export const m = 1;
}
export const m = 1;
}
}

enum NotLegalEnum {
Expand Down
8 changes: 4 additions & 4 deletions tests/baselines/reference/erasableSyntaxOnly.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ namespace AlsoIllegalBecauseInstantiated {
namespace IllegalBecauseNestedInstantiated {
>IllegalBecauseNestedInstantiated : Symbol(IllegalBecauseNestedInstantiated, Decl(erasableSyntaxOnly.ts, 13, 1))

namespace Nested {
namespace Nested {
>Nested : Symbol(Nested, Decl(erasableSyntaxOnly.ts, 15, 44))

export const m = 1;
>m : Symbol(m, Decl(erasableSyntaxOnly.ts, 17, 14))
}
export const m = 1;
>m : Symbol(m, Decl(erasableSyntaxOnly.ts, 17, 20))
}
}

enum NotLegalEnum {
Expand Down
6 changes: 3 additions & 3 deletions tests/baselines/reference/erasableSyntaxOnly.types
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ namespace IllegalBecauseNestedInstantiated {
>IllegalBecauseNestedInstantiated : typeof IllegalBecauseNestedInstantiated
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

namespace Nested {
namespace Nested {
>Nested : typeof Nested
> : ^^^^^^^^^^^^^

export const m = 1;
export const m = 1;
>m : 1
> : ^
>1 : 1
> : ^
}
}
}

enum NotLegalEnum {
Expand Down
6 changes: 3 additions & 3 deletions tests/cases/compiler/erasableSyntaxOnly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ namespace AlsoIllegalBecauseInstantiated {
}

namespace IllegalBecauseNestedInstantiated {
namespace Nested {
export const m = 1;
}
namespace Nested {
export const m = 1;
}
}

enum NotLegalEnum {
Expand Down

0 comments on commit 0d6a34e

Please sign in to comment.