[SR-11648] Cannot call member with default args through AnyObject lookup #54059
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
Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
Target: x86_64-apple-darwin18.7.0
Swift version 5.1.1-dev (Swift 022c6ac)
Target: x86_64-apple-darwin18.7.0
Additional Detail from JIRA
md5: 20a7f3bedac14f54d2b4e0ef3d24f29b
Issue Description:
In 5.1, the following fails to compile:
And on master it currently trips an assertion in CSApply:
But we should allow it to compile.
The text was updated successfully, but these errors were encountered: