thakis added a comment. > While the default metaclass does in fact implement the one method NSCopying > declares, it's not possible within the language to declare that the Class -- > itself, as an instance -- implements the instance methods from the NSCopying > protocol.
Should the compiler just know that then? > You can fix the code just by doing `@{(id)clz : val}`, since id is freely > castable to anything. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67983/new/ https://reviews.llvm.org/D67983 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits