Skip to content

Stuck compiling function #32167

@blegat

Description

@blegat

The Julia compiler seems to get stuck when compiling the MathOptInterface add_constraint.
I have added a print inside the function and it is never called which suggests that it's the compiler itself that gets in an infinite loop.
The bug occurs in Julia v1.0, Julia v1.1 and Julia master

Julia Version 1.3.0-DEV.293
Commit 24497e8f53* (2019-05-28 13:40 UTC)

To reproduce it, use https://github.com/blegat/MOIStuck

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