Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Compiler by
closed by

A full example is here: removing the primitive hint on line 29 will resolve the error, or making the call on line 49 be a number directly will also work.
https://gist.github.com/WickedShell/2acaaf5e40a15352123e2bad338e06ae

Some discussion is available here: https://clojurians.slack.com/archives/C03S1KBA2/p1596323055271400

closed with the note: Released

3 Answers

0 votes
by
selected by
 
Best answer

Fixed in 1.10.2-alpha2

0 votes
by

You get a similar success result if you return a number instead of nil in the :survey case. Curious.

0 votes
by

Logged with a simpler repro at https://clojure.atlassian.net/browse/CLJ-2580

...