Displaying 1 result from an estimated 1 matches for "somefilethatincludedprotodoth".
2020 Oct 12
2
[RFC] Analysis and runtime check of objc_direct/objc_non_runtime_protocol
...ning
at compile time but a developer might choose to ignore it and face link
errors. This will end up with a linker error for a missing symbol.
A potentially better warning can be given to developers via global analysis
saying protocol "Static" was defined to be non-runtime in file
"SomeFileThatIncludedProtoDotH.m" to and dynamic in "source.m".
This example problem can also expand to protocol inheritance hierarchies.
Given an arbitrary hierarchy of runtime and non-runtime protocols and
forward declarations of protocols, the compiler could potentially emit the
wrong references given misleadi...