[SR-11651] Extension of generic Obj-C type has confusing note about adding @objc #54062
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Environment
Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
Target: x86_64-apple-darwin19.0.0
Additional Detail from JIRA
md5: dde1d9580e619da40b6eb95e607b880b
relates to:
Issue Description:
When trying to extend a generic Obj-C type in Swift, adding a method produces an error:
In particular, the first "note" seems out of place as my function body is completely empty.
The text was updated successfully, but these errors were encountered: