Affects Version/s: None
Fix Version/s: None
Currently the reader will lose all source information (line, column, end-line, end-column, file) on values that don't support metadata.
This change allows (optionally) wrapping everything that doesn't support metadata in the Constant record.
This would allow the CLJS analyzer to show correct locations that it currently cannot do in some circumstances.
The location of "2" is unknown and thus the location of the error is that of the +.
The default behaviour is unchanged.
With wrapping enabled you'd get:
The loc-info property of the Constant record could be moved to the metadata of the record.
The CLJS analyzer could easily unwrap this and extract the correct location info to merge that into the AST.