Skip to content

[SR-5848] Infinite loop during compilation when using | operator multiple times and using the result #48418

@swift-ci

Description

@swift-ci
Previous ID SR-5848
Radar None
Original Reporter cm0x4d (JIRA User)
Type Bug

Attachment: Download

Environment

XCode 8.3.3

macOS 12.12.6

MacBook Pro (Retina, 13-inch, Mid 2014)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, TypeChecker
Assignee None
Priority Medium

md5: b727b92fefc6c298fbb9238d25985e22

Issue Description:

The compiler enters an infinite loop when compiling the code attached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselftype checkerArea → compiler: Semantic analysis

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions