-
Notifications
You must be signed in to change notification settings - Fork 753
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
[Master] Add Semtype implementation for jballerina #43671
Conversation
Since #35886 has been addressed, we should be able to remove the temporary shape check workaround. Please refer to #35872 (comment)
Previously ballerina `readonly` return type allowed for java void methods. However, `error?` was not allowed with java void. This inconsistency is due to type checking not recognizing the fact that readonly type does include the error type. The error given in the latter case too is wrong because error is optional.
Previously this was implemented with a temporary workaround which was inefficient as we recalculated the semtypes.
Please refer to #43344 (comment) for the reason
Rewrite BUnionType's `getMemberTypes()` usages using SemTypes
# Conflicts: # .github/workflows/pull_request_full_build.yml # .github/workflows/pull_request_ubuntu_build.yml # .github/workflows/pull_request_windows_build.yml # compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/bir/codegen/JvmTerminatorGen.java # compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/bir/codegen/methodgen/ModuleStopMethodGen.java # compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/bir/codegen/split/values/JvmObjectGen.java # compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/desugar/Desugar.java
Sync nutcracker branch for java 21 changes
This will fix the ModuleExecutionFlowTests tests failures on top of the semtype runtime changes. My guess is now that runtime faster with semtypes, a faster reading rate is required.
…ina-lang into nutcracker_new
…llerina-lang into nutcracker_new # Conflicts: # tests/ballerina-test-utils/src/main/java/org/ballerinalang/test/context/ServerLogReader.java
This reverts commit 72eb483.
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
|
||
- java21 | ||
- nutcracker |
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.
Do we still need these branches? Cant we remove them from the workflows?
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.
yes. will remove them
Purpose
Fixes #40474
Approach
Samples
Remarks
Check List