-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 Pick PR #53666 (Disable JSX recovery hack when in u...) into releas…
…e-5.0 (#53676) Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
- Loading branch information
1 parent
0e198c2
commit b2d5d9b
Showing
11 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tests/cases/compiler/a.js(1,4): error TS1003: Identifier expected. | ||
tests/cases/compiler/a.js(1,5): error TS1109: Expression expected. | ||
|
||
|
||
==== tests/cases/compiler/a.js (2 errors) ==== | ||
~< < | ||
~ | ||
!!! error TS1003: Identifier expected. | ||
|
||
!!! error TS1109: Expression expected. | ||
|
7 changes: 7 additions & 0 deletions
7
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//// [a.js] | ||
~< < | ||
|
||
|
||
//// [a.js] | ||
~< /> < | ||
; |
4 changes: 4 additions & 0 deletions
4
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.symbols
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
=== tests/cases/compiler/a.js === | ||
|
||
~< < | ||
|
9 changes: 9 additions & 0 deletions
9
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
=== tests/cases/compiler/a.js === | ||
~< < | ||
>~< < : boolean | ||
>~< : number | ||
>< : any | ||
> : any | ||
|
||
> : any | ||
|
8 changes: 8 additions & 0 deletions
8
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tests/cases/compiler/a.js(1,9): error TS1109: Expression expected. | ||
|
||
|
||
==== tests/cases/compiler/a.js (1 errors) ==== | ||
~<></> < | ||
|
||
!!! error TS1109: Expression expected. | ||
|
7 changes: 7 additions & 0 deletions
7
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//// [a.js] | ||
~<></> < | ||
|
||
|
||
//// [a.js] | ||
~<></> < | ||
; |
4 changes: 4 additions & 0 deletions
4
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.symbols
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
=== tests/cases/compiler/a.js === | ||
|
||
~<></> < | ||
|
8 changes: 8 additions & 0 deletions
8
tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
=== tests/cases/compiler/a.js === | ||
~<></> < | ||
>~<></> < : boolean | ||
>~<></> : number | ||
><></> : any | ||
|
||
> : any | ||
|
4 changes: 4 additions & 0 deletions
4
tests/cases/compiler/parseJsxElementInUnaryExpressionNoCrash1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// @allowJs: true | ||
// @outDir: ./out | ||
// @filename: a.js | ||
~< < |
4 changes: 4 additions & 0 deletions
4
tests/cases/compiler/parseJsxElementInUnaryExpressionNoCrash2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// @allowJs: true | ||
// @outDir: ./out | ||
// @filename: a.js | ||
~<></> < |