Closed mfikes closed 9 years ago
With the fix, a warning can appear like the following:
Connecting to Ambly Demo on iPhone Simulator (Mike-Fikess-MacBook-Pro) ...
WARNING: Ambly Demo on iPhone Simulator (Mike-Fikess-MacBook-Pro)
is running ClojureScript 0.0-3137, while the Ambly REPL is
set up to use ClojureScript 0.0-3115.
To quit, type: :cljs/quit
ClojureScript:cljs.user>
When bootstrapping, there is a check to see if ClojureScript has already been bootstrapped.
Make that check a little more sophisticated to ensure the bootstrapped version matches the version the REPL is set up to use. (Compare clojurescript-version as exists in JSC and in the REPL.)
Not sure what to do about self-booting apps, which carry their own ClojureScript that is already compiled? If we detect a mismatch, fail REPL startup?