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.
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
Typed ACS and transaction streams for Java codegen #15159
Typed ACS and transaction streams for Java codegen #15159
Changes from 4 commits
43c9f36
08d0254
7178636
ca68c0c
b76ff64
7269048
ff2cde0
14af3cc
1057819
ac6fca6
783383c
6532d5d
85d8973
99868fb
bc65de3
ecb1ea8
ec9fc8f
f9c0fa4
5526e2f
7b45bd3
f8f58ba
2e00060
73ee886
5e70489
c8b2200
922d1fd
24bbec2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
An example of why I am reluctant to add
extends
clauses to class or interface type parameters that aren't strictly necessary.Sure, when defining
Contract
, we could have made its second type parameterextends Template
. That would have compiled at the time. However, it has no functional benefits for the API, and then you would be stuck here.While adding constraints to class tparams can be useful, it is more often no better than
DatatypeContexts
aka "stupid theta" in Haskell, and just as worth avoiding.