Skip to content

[erlc] hang on small testcase using abs and bnot #7145

Closed
@RobinMorisset

Description

@RobinMorisset

Describe the bug
Running erlc on the following testcase hangs (or at least does not terminate even after waiting more than one minute):

f() ->
    abs(
        try
            bnot f()
        catch
            _ ->
                0
        end
    ).

Affected versions
master

Metadata

Metadata

Labels

bugIssue is reported as a bugteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions