Skip to content
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

Sending semtype changes to master #43606

Open
wants to merge 962 commits into
base: master
Choose a base branch
from
Open

Sending semtype changes to master #43606

wants to merge 962 commits into from

Conversation

lochana-chathura
Copy link
Member

@lochana-chathura lochana-chathura commented Nov 19, 2024

Purpose

$subject.

Fixes #40474

Approach

n/a

Samples

n/a

Remarks

n/a

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

heshanpadmasiri and others added 30 commits October 31, 2024 21:48
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.
@lochana-chathura lochana-chathura marked this pull request as ready for review November 20, 2024 02:10
@lochana-chathura lochana-chathura changed the title [Don't merge] Sending semtype changes to master Sending semtype changes to master Nov 20, 2024
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.
Copy link

sonarcloud bot commented Nov 24, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
3.3% Duplication on New Code (required ≤ 3%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/SemtypeIntegration Issue related to integrating semtype engine Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement]: Integrate nBallerina type engine into jBallerina
3 participants