-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Stacked Diff 3/n #2614] [Parse Hashtags for polymorphic variants]""
This reverts commit f005630051aa47c2e2a51634229e8f26d7b56ab6.
- Loading branch information
Showing
52 changed files
with
1,934 additions
and
361 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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[@reason.version 3.7]; | ||
|
||
Some((1, 2, 3)); | ||
|
||
type bcd = | ||
|
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
14 changes: 14 additions & 0 deletions
14
formatTest/typeCheckedTests/expected_output/autoUpgradeAngleBrackets.re
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,14 @@ | ||
/** | ||
* Even if you have an explicit v3.6 marker. | ||
* This whole file wil be auto-upaded to 3.8 becase something uses | ||
* angle brackets. | ||
*/; | ||
[@reason.version 3.8]; | ||
let watchThisIsOldStyle: list<int> = [1, 2]; | ||
|
||
let watchThisIsOldStylePoly = #hello; | ||
|
||
/** | ||
* This will cause the whole file to be promoted. | ||
*/ | ||
let x: list<int> = [1, 3]; |
13 changes: 13 additions & 0 deletions
13
formatTest/typeCheckedTests/expected_output/autoUpgradeAngleBracketsNoVersionAttr.re
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,13 @@ | ||
[@reason.version 3.8]; | ||
/** | ||
* Test auto-promotion based on feature inference even if no version | ||
* tag. By default you're using the old 3.7. | ||
*/ | ||
let watchThisIsOldStyle: list<int> = [1, 2]; | ||
|
||
let watchThisIsOldStylePoly = #hello; | ||
|
||
/** | ||
* This will cause the whole file to be promoted. | ||
*/ | ||
let x: list<int> = [1, 3]; |
5 changes: 5 additions & 0 deletions
5
formatTest/typeCheckedTests/expected_output/autoUpgradeDoNotAutoUpgrade.re
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,5 @@ | ||
[@reason.version 3.7]; | ||
/** | ||
* This should just print a 3.7 version attr at the top. | ||
*/ | ||
let watchThisIsOldStyle: list(int) = [1, 2]; |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* **** comment */ | ||
/*** comment */ | ||
/** docstring */; | ||
|
||
[@reason.version 3.7]; | ||
|
||
/* comment */ | ||
|
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
1 change: 1 addition & 0 deletions
1
formatTest/typeCheckedTests/expected_output/comments.rei.4.07.0
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* **** comment */ | ||
/*** comment */ | ||
/** docstring */; | ||
|
||
[@reason.version 3.7]; | ||
|
||
/* comment */ | ||
|
1 change: 1 addition & 0 deletions
1
formatTest/typeCheckedTests/expected_output/comments.rei.4.07.1
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* **** comment */ | ||
/*** comment */ | ||
/** docstring */; | ||
|
||
[@reason.version 3.7]; | ||
|
||
/* comment */ | ||
|
1 change: 1 addition & 0 deletions
1
formatTest/typeCheckedTests/expected_output/comments.rei.4.08.0
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* **** comment */ | ||
/*** comment */ | ||
/** docstring */; | ||
|
||
[@reason.version 3.7]; | ||
|
||
/* comment */ | ||
|
1 change: 1 addition & 0 deletions
1
formatTest/typeCheckedTests/expected_output/comments.rei.4.09.0
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* **** comment */ | ||
/*** comment */ | ||
/** docstring */; | ||
|
||
[@reason.version 3.7]; | ||
|
||
/* comment */ | ||
|
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
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
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
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
Oops, something went wrong.