Warn when overwriting protocol method

Description

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.

Environment

None

Activity

Show:
Mike Fikes
June 14, 2019, 8:21 PM
Mike Fikes
May 12, 2019, 2:35 AM

CLJS-2247-3.patch added to Patch Tender

Mike Fikes
July 2, 2018, 6:10 PM

CLJS-2247-3.patch rebaselines

Mike Fikes
December 29, 2017, 4:19 PM

The attached CLJS-2247-2.patch rebaselines against master.

Fixed

Assignee

Mike Fikes

Reporter

Mike Fikes

Labels

Approval

Accepted

Patch

Code and Test