mfikes / shrimp

Example project using Goby
Eclipse Public License 1.0
51 stars 7 forks source link

TypeError: undefined is not an object #6

Closed funkotron closed 9 years ago

funkotron commented 9 years ago

followed README instructions, Clojurescript compilation was fine but got this when running in the simulator:

2015-05-19 00:16:51.217 Shrimp[28837:534711] Initializing ClojureScript
2015-05-19 00:16:51.347 Shrimp[28837:534711] ClojureScript initialized:  {:user-interface-idiom iPhone, :debug-build true, :target-simulator true}
2015-05-19 00:16:51.347 Shrimp[28837:534711] Initializing database
2015-05-19 00:16:51.377 Shrimp[28837:534711] [file:///shrimp/master_view_controller.js:38:36] TypeError: undefined is not an object (evaluating 'shrimp.master_view_controller.t5485.prototype')
file:///shrimp/master_view_controller.js:38:36
shrimp$master_view_controller$setup_table_view_data_source@file:///shrimp/master_view_controller.js:96:3
shrimp$master_view_controller$handle_view_did_load_BANG_@file:///shrimp/master_view_controller.js:173:64
shrimp$master_view_controller$view_did_load_BANG_@file:///shrimp/master_view_controller.js:17:69
mfikes commented 9 years ago

Oh wow, that looks like a regression with ClojureScript 0.0-3269. (I must have blindly updated the project.clj without actually testing it.) What's concerning is that you get

WARNING: ->t5482 already refers to: cljs.core/->t5482 being replaced by: shrimp.master-view-controller/->t5482 at line 18 src/shrimp/master_view_controller.cljs

Will investigate...