Skip to content

Calling an iter (as if it were a function) hits llvm assert #771

Closed
@jruderman

Description

@jruderman
iter i() { }
fn main() { i(); }

Assertion failed: ((NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"), function init, file Instructions.cpp, line 187.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions