-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve n-ary continuation coercion #4615
Open
ggreif
wants to merge
8
commits into
master
Choose a base branch
from
gabor/coerceCont
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
acb5625
tweaks
ggreif f1de796
tweak
ggreif 555223b
generate less lambdas on the fly
ggreif 8cc1342
integrate also the invocation of the `unary_async`
ggreif 662225c
WIP: specialise only for {0, 2}-ary
ggreif 7a61404
WIP: bring back `coerce`
ggreif 31359bb
accept
ggreif 2d6fe4a
accept
ggreif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cyclic-bound5.mo:7.8-7.17: type error [M0043], type parameter U__1 has cyclic bounds U__1 <: U__1 | ||
cyclic-bound5.mo:7.8-7.17: type error [M0043], type parameter U__2 has cyclic bounds U__2 <: U__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
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,3 +1,3 @@ | ||
issue-2391.mo:3.3-3.35: type error [M0137], type C = {y : T__16} references type parameter T__16 from an outer scope | ||
issue-2391.mo:10.3-10.47: type error [M0137], type C<U> = {y : T__17} references type parameter T__17 from an outer scope | ||
issue-2391.mo:3.3-3.35: type error [M0137], type C = {y : T__17} references type parameter T__17 from an outer scope | ||
issue-2391.mo:10.3-10.47: type error [M0137], type C<U> = {y : T__18} references type parameter T__18 from an outer scope | ||
issue-2391.mo:16.3-16.64: type error [M0137], type C<U> = {y : (T1, T2)} references type parameters T2, T1 from an outer scope |
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,2 +1,2 @@ | ||
modexp2.mo:11.16-11.17: type error [M0030], type field U does not exist in type | ||
module {type T = U; f : ???} | ||
module {type T = U__1; f : ???} |
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 +1 @@ | ||
modexp5.mo:6.20-6.30: type error [M0137], type U = T__18 references type parameter T__18 from an outer scope | ||
modexp5.mo:6.20-6.30: type error [M0137], type U = T__19 references type parameter T__19 from an outer scope |
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 |
---|---|---|
|
@@ -66,6 +66,9 @@ actor a { | |
Prim.debugPrint a; | ||
Prim.debugPrint b; | ||
}; | ||
Prim.debugPrint (debug_show (await p())); | ||
Prim.debugPrint (debug_show (await async (1, "two", '3'))); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I want to exercise the higher tuples too |
||
await async (); | ||
|
||
ignore(await a); | ||
ignore(await b); | ||
|
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
await.mo:45.9-45.10: warning [M0194], unused identifier g (delete or rename to wildcard `_` or `_g`) | ||
await.mo:63.10-63.11: warning [M0194], unused identifier p (delete or rename to wildcard `_` or `_p`) | ||
await.mo:64.9-64.10: warning [M0194], unused identifier h (delete or rename to wildcard `_` or `_h`) |
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,10 +1,10 @@ | ||
do-async-poly.mo:8.42-8.43: type error [M0033], async has non-shared content type | ||
T__20 | ||
do-async-poly.mo:13.42-13.43: type error [M0033], async has non-shared content type | ||
T__21 | ||
do-async-poly.mo:18.44-18.45: type error [M0033], async has non-shared content type | ||
do-async-poly.mo:13.42-13.43: type error [M0033], async has non-shared content type | ||
T__22 | ||
do-async-poly.mo:22.42-22.43: type error [M0033], async has non-shared content type | ||
do-async-poly.mo:18.44-18.45: type error [M0033], async has non-shared content type | ||
T__23 | ||
do-async-poly.mo:26.43-26.44: type error [M0033], async has non-shared content type | ||
do-async-poly.mo:22.42-22.43: type error [M0033], async has non-shared content type | ||
T__24 | ||
do-async-poly.mo:26.43-26.44: type error [M0033], async has non-shared content type | ||
T__25 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this case never gets hit