Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

lighttable.nrepl.handler Does not conform to spec #91

@ghost

Description

clojure 1.9.0-alpha12 has broken a lot of old code that relied on "features" that didn't really exist, but worked anyway. Moving forward, it seems like spec is allowing clojure.core to become better at "seeing" when you use it in a non-conformant way, and will be vocal about it.

Right now if you try to make a blank lein project, import into lighttable and depend on
[org.clojure/clojure "1.9.0-alpha12"]
and
(ns whatever.core (:require [clojure.spec :as something]))
you will receive an error: lighttable.nrepl.handler does not conform to spec ... Reason: additional argument

I'm uncertain, but I think this is referring to line 12. I'm fairly sure that "hanging" requires like this isn't specifically allowed by ns, even though it appears to work fine. I could be mistaken though. One of the big motivators for introducing spec is to try to clean up code that is relying on incidental rather than documented behavior of core functions.

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