Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Update to work with Clojure 1.6 #17

Open
pharcosyle opened this issue Apr 22, 2014 · 5 comments
Open

Update to work with Clojure 1.6 #17

pharcosyle opened this issue Apr 22, 2014 · 5 comments

Comments

@pharcosyle
Copy link

Works great in 1.5.1, but I get this error with 1.6:

No protocol method ITransientAssociative.-assoc! defined for type object: [object Object]

@ccfontes
Copy link

@pharcosyle I cannot reproduce your success with Clojure 1.5.1. I still have this error:
screen shot 2014-04-24 at 21 36 38

Do you also have warning error with lein cljsbuild auto?:

WARNING: No such namespace: goog.object at line 30 file:/Users/me/.m2/repository/xhh/clang/0.1.0-SNAPSHOT/clang-0.1.0-SNAPSHOT.jar!/clang/util.cljs

tried lein-cljsbuild 1.0.1 as well as 1.0.3, but to no avail.

My cljs:

(ns app.clang
  (:require-macros [clang.angular :refer [def.controller defn.scope]])
  (:require [clang.util :refer [module]]))

(def m (module "app" []))

(def.controller m login [$scope]
  (assoc! $scope :route [{:bla "foo"}]))

@pharcosyle
Copy link
Author

I'm pretty sure I got that warning with 1.6. Are you totally sure your project is using 1.5.1 instead of latest?

@ccfontes
Copy link

I'm sure, but maybe it's possible I got the same warning for a different reason.

@pharcosyle
Copy link
Author

Okay, I checked again: I get that warning in both 1.6 and 1.5.1 but the
error ONLY in 1.5.1. I also had to do a lein cljsbuild clean between
changing the version in my project.clj.

If this still doesn't work for you I can post my source

On Thu, Apr 24, 2014 at 8:13 PM, Carlos Cunha [email protected]:

I'm sure, but maybe it's possible I got the same warning for a different
reason.


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-41347605
.

@ccfontes
Copy link

@pharcosyle, unfortunately I'm not using Clang anymore in this project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants