Manual test project for cursive-ide/cursive#3099, concerning inferred argument types in classic Java constructor calls.
- Open this directory, or its
deps.edn, as a project in the Cursive development IDE. - Wait for project import and indexing to finish.
- Open
src/clojure/repro/core.clj. - Ensure the Java interop inspection is enabled.
- Inspect the constructor calls in that file.
These functions should have no Java interop warning:
classic-constructornew-special-formexplicitly-hintedliteral-controlannotated-function-control
genuinely-ambiguous-control should report a constructor-overload warning. This confirms that the inspection is active while the inferred and explicitly typed cases are resolved correctly.
For an additional check, use Expression Type on (str ...) in classic-constructor; it should report java.lang.String/String.