parser
parser copied to clipboard
Incorrect problem propagated from finalizeFloat
The problem passed to float handler for numbers parser is not used, instead the generic invalid
problem is used. In other words these lines:
case floatSettings of
Err x ->
Bad True (fromState s invalid)
Should probably look like this:
case floatSettings of
Err x ->
Bad True (fromState s x) -- note the `x` instead of `invalid`