[SR-12626] Crash on apply KeyPathDynamicMemberLookup non WritableKeyPath to a set subscript #55070
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
type checker
Area → compiler: Semantic analysis
Environment
Xcode 11.4 Swift 5.2
Additional Detail from JIRA
md5: 1a94b72d7a4a070413f1c1951632f380
Issue Description:
Applying a non WritableKeyPath to a set subscript crashes the compiler
Changing the parameter to WritableKeyPath works just fine.
Stacktrace
The text was updated successfully, but these errors were encountered: