Open svetlyak40wt opened 3 years ago
Here is how to reproduce the problem:
CL-USER> (asdf:load-system :jonathan) CL-USER> (jonathan:parse "{\"foo\": 123.56}") (:|foo| 123.56) CL-USER> (sb-ext:restrict-compiler-policy 'safety 3) CL-USER> (asdf:load-system :jonathan :force t) CL-USER> (jonathan:parse "{\"foo\": 123.56}") ; Debugger entered on #<TYPE-ERROR expected-type: FIXNUM datum: 123.56>
The problem is in this line: https://github.com/Rudolph-Miller/jonathan/blame/fb83ff094d330b2208b0febc8b25983c6050e378/src/decode.lisp#L295
This problem still exists the problem is in the (the fixnum num) form at line:
(the fixnum num)
https://github.com/Rudolph-Miller/jonathan/blob/fb83ff094d330b2208b0febc8b25983c6050e378/src/decode.lisp#L295
this just bit me pretty deep in my call graph.
Here is how to reproduce the problem:
The problem is in this line: https://github.com/Rudolph-Miller/jonathan/blame/fb83ff094d330b2208b0febc8b25983c6050e378/src/decode.lisp#L295