Skip to content

update spec for asInstanceOf: it's weaker than pattern matching #12215

Open
@adriaanm

Description

@adriaanm

Just now in the SIP meeting, @odersky says pattern matching is the safe variant, while asInstanceOf does the minimal thing to make bytecode pass (although the spec can't really refer to that)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions