Skip to content

ordered/set fails on Java 11 #45

Closed

Description

@cloojure

Hi - This works with Clojure 10 and Java 10, but fails for Java 11. Stack trace:

Exception in thread "main" Syntax error compiling deftype* at (flatland/ordered/set.clj:12:1).
at clojure.main.main(main.java:37)
Caused by: java.lang.IllegalArgumentException: Must hint overloaded method: toArray
at clojure.lang.Compiler$NewInstanceMethod.parse(Compiler.java:8496)

Activity

  1. jafingerhut commented on Feb 25, 2019

    @jafingerhut
    Contributor

    What version of ordered/set are you using? There was a commit made to fix this on 2018-Oct-02 here: 16d0bc9

    It appears those changes should be part of version 1.5.7 of this library: https://clojars.org/org.flatland/ordered

  2. cloojure commented on Feb 25, 2019

    @cloojure
    Author

    Never mind. Just saw that you had already fixed it.

  3. cloojure commented on Feb 25, 2019

    @cloojure
    Author

    It was due to an outdated dependency from io.forward/yaml

  4. added a commit that references this issue on Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions