Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change WaitHandle to Awaitable in hack
Summary: - Removed all references to WaitHandle in hphp/hack Reviewed By: jano Differential Revision: D6912972 fbshipit-source-id: ee3ff98b6283217e1b90889c456c3dba1ff8edfe
- Loading branch information
Showing
14 changed files
with
31 additions
and
38 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
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
File "stdclass_final.php", line 3, characters 7-18: | File "stdclass_final.php", line 3, characters 7-18: | ||
You cannot extend final class stdClass (Typing[4035]) | You cannot extend final class stdClass (Typing[4035]) | ||
File "hhi_lib__srcs/classes.hhi", line 188, characters 13-20: | File "hhi_lib__srcs/classes.hhi", line 187, characters 13-20: | ||
Declaration is here | Declaration is here |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
File "stdclass_static_members.php", line 4, characters 13-23: | File "stdclass_static_members.php", line 4, characters 13-23: | ||
Could not find class variable $staticProp in type stdClass (Typing[4090]) | Could not find class variable $staticProp in type stdClass (Typing[4090]) | ||
File "hhi_lib__srcs/classes.hhi", line 188, characters 13-20: | File "hhi_lib__srcs/classes.hhi", line 187, characters 13-20: | ||
Declaration of stdClass is here | Declaration of stdClass is here |
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
<?hh | <?hh | ||
async function f(): WaitHandle {} | async function f(): Awaitable {} | ||
async function g(): WaitHandle<void> {} | async function g(): Awaitable<void> {} | ||
echo "Done\n"; | echo "Done\n"; |