clj-commons / manifold

A compatibility layer for event-driven abstractions
1.02k stars 106 forks source link

Fix print-method bug #237

Closed KingMob closed 8 months ago

KingMob commented 8 months ago

Promesa adds CompletionStage as a dispatch value, which causes hierarchy conflicts when attempting to pr a deferred.

E.g.:

java.lang.IllegalArgumentException: Multiple methods in multimethod 'print-method' match dispatch value: class manifold.deferred.Deferred -> interface java.util.concurrent.CompletionStage and interface manifold.deferred.IDeferred, and neither is preferred

KingMob commented 8 months ago

@yenda ☝🏻