Skip to content

LLVM assert with plain "put;" #947

Closed
@jruderman

Description

@jruderman

In generic-iter-frame.rs, replacing "put ();" with "put;" results in an LLVM assertion.

Reduced testcase:

iter i() { put; }
fn main() { for each j in i() { } }

Assertion failed: (((Args.size() == FTy->getNumParams()) || (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && "Invoking a function with bad signature"), function init, file Instructions.cpp, line 526.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions