Skip to content

Instantly share code, notes, and snippets.

@andrewmcveigh
Created December 1, 2012 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewmcveigh/4185793 to your computer and use it in GitHub Desktop.
Save andrewmcveigh/4185793 to your computer and use it in GitHub Desktop.
cljs def metadata problem?
(ns test-def)
(def ^:foo e identity)
e
; test_def.e = cljs.core.identity;
; test_def.e;
(def ^:field f identity)
f
; test_def.f = cljs.core.identity;
; self__.test_def.f;
; Uncaught ReferenceError: self__ is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment