[SR-11743] KeyPath Dynamic Member Lookup crash #54150
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
Swift version 5.1.1-dev (Swift fab6ce9)
Target: x86_64-apple-darwin19.0.0
Additional Detail from JIRA
md5: 16d67510fda064a927210bec377b346a
is duplicated by:
Issue Description:
This code crashes when type checking
self[keyPath: member]
:Seems like there are 3 locator parts, which is triggering the assert:
The text was updated successfully, but these errors were encountered: