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

[2201.6.0-stage and 2201.6.x] Full build pipeline failure with query expressions #40494

Closed
tharindu-nw opened this issue May 24, 2023 · 3 comments
Assignees
Labels
Priority/Blocker Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug

Comments

@tharindu-nw
Copy link
Contributor

Description:
Fails at nballerina level: https://github.com/ballerina-platform/ballerina-release/actions/runs/5060826646/jobs/9089852522

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@MaryamZi MaryamZi transferred this issue from ballerina-platform/ballerina-release May 24, 2023
@MaryamZi MaryamZi added Priority/Blocker Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. labels May 24, 2023
@MaryamZi MaryamZi changed the title [2201.6.x] Full build pipeline failure [2201.6.0-stage and 2201.6.x] Full build pipeline failure with query expressions May 24, 2023
@MaryamZi
Copy link
Member

Simplified version from one failure in nBallerina.

type ModuleDecls [string, FuncDecl...];

type FuncDecl [string, Signature];

public type Signature [string, string[], string];

type ModuleDeclsMemo record {|
    readonly string id;
    map<Signature> funcs = {};
|};

public function main() {
    record {|
        table<ModuleDeclsMemo> key (id) decls = table[];
    |} sc = {};

    ModuleDecls[] decl = from var { id, funcs } in sc.decls
                        select [id, ...from var [name, sig] in funcs.entries()
                                    select <FuncDecl>[name, sig]];
}

@SasinduDilshara
Copy link
Contributor

This is fixed now with #40497

Copy link

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority/Blocker Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug
Projects
None yet
Development

No branches or pull requests

3 participants