[CLJS-751] requiring clojure.core.reducers throws error Created: 15/Jan/14 Updated: 16/Jan/14 Resolved: 16/Jan/14
Error messages is "Uncaught TypeError: Cannot read property 'prototype' of undefined reducers.js:733
IPersistentVector in reducers.cljs should probably be PersistentVector. The specify machinery in extend-type probably exposed this bug.
|Comment by Francis Avila [ 15/Jan/14 4:54 PM ]|
Note that because of advanced-compilation dead-code elimination, you won't catch this if you advance-compile. Run script/test with whitespace optimizations to see the reducer tests fail.
|Comment by Francis Avila [ 15/Jan/14 4:57 PM ]|
Patch fixes typo and causes existing reducer tests to pass (tests run with whitespace optimization). Doesn't make sense to write any more tests, although the test runner should probably not use advanced compilation as the default....
|Comment by David Nolen [ 16/Jan/14 5:19 PM ]|