getTypeOf{Member,}Reference() needs to erase DynamicSelfType in all positions #73860
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
expressions
Feature: expressions
type checker
Area → compiler: Semantic analysis
Description
compiler segfaults when compiling this actor pattern, which uses
Self
instead ofA
:Reproduction
Stack dump
Expected behavior
it should not crash, and ideally suggest
A
as a fixit. or just treatfinal class
es andactor
s the same way that non class-constrained are.Environment
Swift version 5.10 (swift-5.10-RELEASE)
Target: x86_64-unknown-linux-gnu
Additional information
also crashes on main
The text was updated successfully, but these errors were encountered: