Bug #1413
Utils::JsonWrapper should allow integer overloading to float
Start date:
11 February 2014
Due date:
% Done:
100%
Estimated time:
Workflow:
New Issue
Description
It can be a bit confusing to get an error when one attempts to interpret an integer ni e.g. configuration file as a float. Probably JsonWrapper is being too strict here.
Updated by Rogers, Chris about 9 years ago
Implemented in rogers/1413 branch, will put it through test. We now allow (JsonWrapper):
- Uint -> int
- Uint, int -> real
- anything -> anyType
- anyType -> anything
Note 1-3 are guaranteed to be safe, 4 may make a Json error (which results in a dump). Maybe I should disallow 4?
Updated by Rogers, Chris about 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Merged in r708.
I didn't disallow 4.
Updated by Rajaram, Durga about 9 years ago
- Target version changed from Future MAUS release to MAUS-v0.8.4