Warn when overwriting protocol method
Warn when a protocol overwrites a method in another protocol.
Observe the warning in this Clojure REPL session:
Here is the same in ClojureScript:
Note that they both result in the same runtime behavior, but Clojure emits a nice diagnostic when IBeta is defined.
CLJS-2247-3.patch added to Patch Tender
The attached CLJS-2247-2.patch rebaselines against master.