Open Uncommon opened 2 years ago
This one is similar to https://github.com/apple/swift/issues/60779 but easier because all we need to do is to extend GenericArgumentsMismatchFailure
to support KeyPathExpr
anchored locators.
@angela-laar Something you might be interested in looking into.
Generic arguments mismatch... now I see my mistake :) I updated the expected behavior.
Describe the bug "Failed to produce diagnostic for expression" error in the code below (line 31, the beginning of the
body
getter).Steps To Reproduce Attempt to compile the code below. I had it in an Xcode playground as a simplified version of my original case.
Expected behavior The error should complain about the fact that
FileChangeNode.children
should be of type[FileChangeNode]?
instead of[FileChange]?
.Environment (please fill out the following information)