[SR-6744] Compiler crash when using KeyPath to property with the same name as a func #49293
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.1
Attachment: Download
Environment
Additional Detail from JIRA
md5: b3976cc4019f8f9dab5185c5d91798d0
Issue Description:
The following code reliably crashes the compiler:
The problem seems to be, that the property
value
has the same name as thevalue(adding:)
function. It no longer crashes when the function is renamed (e.g.increasedValue(adding:)
) or removed.This works fine with Swift 4.0.
The text was updated successfully, but these errors were encountered: