Skip to content

Hang when analyzing loop #2808

@correctmost

Description

@correctmost

Summary

ty 0.0.17 hangs when analyzing this fuzzed code:

for i in range(1):
    if a:
        b = [b]
    else:
        b = -[b]

ty 0.0.16 does not hang.

Version

ty 0.0.17

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcontrol flowfatala fatal error (panic or crash)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions