Skip to content

Val::isOneInt failure #203

@naoyam

Description

@naoyam

🐛 Bug

    Int* x = new Int(1);
    Int* y = new Int(1);
    Val* z = mul(x, y);
    z->isOneInt(); <-- An exception is thrown here

An exception is thrown as:

C++ exception with description "bad optional access" thrown in the test body.

Val::isZeroInt has the same problem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions