Skip to content

[SR-436] Parse failure that shouldn’t be #43053

Open
@dabrahams

Description

@dabrahams
Previous ID SR-436
Radar None
Original Reporter @dabrahams
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Parser
Assignee None
Priority Medium

md5: 949afa5de508847771a1512d49cf0f05

Issue Description:

In 16c0d65,

1 as Int16 << 7

yields an “Expected type” failure, but shouldn’t.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfparserArea → compiler: The legacy C++ parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions