[SR-7106] 4.1 Regression: Compiler crashes when generating KeyPath in conditional NSObject extension of generic container type #49654
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
key paths
Feature: key paths (both native and Objective-C)
regression
swift 4.1
Environment
Apple Swift version 4.1-dev (LLVM 1c8b50929b, Clang 420ae40df6, Swift 08ee342)
Additional Detail from JIRA
md5: 40f18707bde5a0758b0973b22f8d6fde
is duplicated by:
Issue Description:
Following up on SR-7105, I've noticed a compiler crash in 4.1 when generating a KeyPath for a contained concrete type when that concrete type is an NSObject.
Easier to express in code:
This compiles and works correctly in 4.0.3 but not in 4.1-dev:
The text was updated successfully, but these errors were encountered: