Skip to content

Commit

Permalink
Fix bug that caused encoding Int to loop forever.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewthad committed Apr 29, 2015
1 parent 62e0bb7 commit cb720fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Data/Text/Lazy/Builder/Int.hs
Expand Up @@ -200,9 +200,6 @@ integer :: Int -> Integer -> Builder
#ifdef INTEGER_GMP
integer 10 (S# i#) = decimal (I# i#)
integer 16 (S# i#) = hexadecimal (I# i#)
#else
integer 10 i = decimal i
integer 16 i = hexadecimal i
#endif
integer base i
| i < 0 = singleton '-' <> go (-i)
Expand Down

0 comments on commit cb720fe

Please sign in to comment.