jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

Longs values are occasionally truncated #330

Open heneryville opened 4 years ago

heneryville commented 4 years ago

Long values printed to Proto-repl will occasionally truncate their values. e.g.

(Long/valueOf "66432492550333186") ; 66432492550333180
(println (Long/valueOf "66432492550333186")) ; 66432492550333186

Notice that when Proto-repl is handling the printing, the last 6 is truncated off.

This problem becomes very pronounced when working with Datomic, which uses Long identifiers for entities.