Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

make-ui and ahead-of-time compilation #23

Open
@BartAdv

Description

@BartAdv
;;;;;;; this gives IllegalArgumentException while compiling
(def ui (make-ui [:linear-layout {}
                  [:text-view {:text "doh"}]]))

(defactivity foo.bar.MainActivity
  :def a
  :on-create
  (fn [this bundle]
    (on-ui
     (set-content-view! a
      (make-ui [:linear-layout {}
                [:text-view {:text "Hello from Clojure!"}]])))))
;;;;;; ^^ this does not - what's the deal??

This does not occur when I disable aot for the given namespace.

PS. I'm not really sure whether it's really a neko issue, or whether maybe it belongs to lein-droid or whether is it beyond the scope of clojure-android, I was just unable to figure out the cause and I decided to report it here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions