clj-commons / camel-snake-kebab

A Clojure[Script] library for word case conversions
https://clj-commons.org/camel-snake-kebab/
Eclipse Public License 1.0
475 stars 49 forks source link

could not eval camel-snake-kebab.core in self-hosted clojurescript. #46

Closed guruma closed 4 years ago

guruma commented 6 years ago

planck and lumo use the self-hosted clojurescript compiler.

When required in planck or lumo, camel-snake-kebab.core namespace can't be loaded.

The following shows how I meet the case.

2018-03-08 9 07 27
qerub commented 6 years ago

I get another error with Planck (version 2.11.0):

% planck -c src -e "(require 'camel-snake-kebab.core)"
Could not eval camel-snake-kebab.internals.macros in file <…>/camel-snake-kebab/src/camel_snake_kebab/internals/macros.clj
Assert failed: Argument to resolve must be a quoted symbol
(core/and (seq? quoted-sym) (= (quote quote) (first quoted-sym))) at line 15 <…>/camel-snake-kebab/src/camel_snake_kebab/internals/macros.clj

I'm afraid I don't have the time to look into Planck compatibility but am happy to receive patches.