clj-commons / potemkin

some ideas which are almost good
572 stars 53 forks source link

Potential breakage #72

Open NoahTheDuke opened 1 year ago

NoahTheDuke commented 1 year ago

Setup

CLJ-1929: "Literal collections are tagged as IPersistentVector, IPersistentMap, etc and as constant expressions won’t preserve type hints. If these collections are then used in a Java interop call, there is no way to indicate the desired type to choose a method overload between Collection and some other type."

This ticket has a patch that is on the shortlist for inclusion to 1.12.

Issue

As I commented in the issue, the strict version of the patch breaks Potemkin's import-* macros. Given Potemkin's prominence within the community, it seems reasonable to me to proactively fix the issue.