<< Back to previous view

[CLJS-163] Using ^:extern in repl fails Created: 15/Mar/12  Updated: 28/Nov/15  Resolved: 28/Nov/15

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: icyrock.com Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

ClojureScript version used:

commit aa51a01141131736871e791918df63f185155421
Author: David Nolen <dnolen@Davids-MacBook-Pro.local>
Date: Wed Mar 14 20:21:07 2012 -0400

ClojureScript:cljs.user> (defn ^:export a [])
"Error evaluating:" (defn a []) :as "cljs.user.a = (function a(){\nreturn null;\n});\ngoog.exportSymbol('cljs.user.a', cljs.user.a);\n"
org.mozilla.javascript.EvaluatorException: missing ; before statement (<cljs repl>#41)

ClojureScript:cljs.user> (defn a [])
function a() {
    return null;

Comment by Samuel Miller [ 25/Nov/15 7:54 PM ]

Not seeing this issue with CLJS 1.7.170. Maybe resolved in some other way

Generated at Wed Jan 17 16:22:22 CST 2018 using JIRA 4.4#649-r158309.