Closed tajmone closed 5 years ago
Float literals with the 'f (without bitness) or 'd suffix are parsed incorrectly, where the ' is seen as a single-quote string:
'f
'd
'
var f1 = 0.0'f # float32 (not handled correctly) f2 = 0.0'd # float64 (not handled correctly) f3 = 0.0'f32 # float32 f4 = 0.0'f64 # float64 f5 = 0.0'f128 # float128
In VCS it shows just like in the preview here on GitHub, with the code from f up to 'd (excluded) in red (as if it was a char literal with more than one char, shown as "invalid").
f
From the documentation it seems that they should be supported:
I'm experiencing the same issue on Sublime Text (see Issue #43), so I wonder if it's a bug or not.
Float literals with the
'f
(without bitness) or'd
suffix are parsed incorrectly, where the'
is seen as a single-quote string:In VCS it shows just like in the preview here on GitHub, with the code from
f
up to'd
(excluded) in red (as if it was a char literal with more than one char, shown as "invalid").From the documentation it seems that they should be supported:
I'm experiencing the same issue on Sublime Text (see Issue #43), so I wonder if it's a bug or not.