mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
if the expression is an argument to `#selector`. For `#selector` arguments, functions and properties are syntactically distinct with the getter/setter label, so the solver should not unconditionally prefer properties to unapplied functions. A better fix for this is to port over the `#selector` diagnostics from CSApply, and not attempt invalid disjunction choices based on the selector kind on the valid code path.
217 KiB
217 KiB