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

Introduce support for isolated functions #25761

Merged
merged 100 commits into from
Sep 15, 2020
Merged

Introduce support for isolated functions #25761

merged 100 commits into from
Sep 15, 2020

Conversation

MaryamZi
Copy link
Member

Purpose

$title.

Fixes #24907

Approach

A new phase is introduced for isolation function validation and inferring. In addition, the type checker now takes into account the isolated flag.

Remarks

Pending tasks - support isolated with function type descriptors and anonymous functions. #25565

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

MaryamZi and others added 30 commits August 12, 2020 16:34
Also changes  to return only non-note diagnostics.
…uncs

The tests are commented out until support for isolated function typedescs and anon functions is added
Parsing logic isolate support for function type desc and anonymous function expression.
@MaryamZi MaryamZi requested a review from hasithaa September 15, 2020 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Add support for isolated functions
3 participants