[ESS-bugs] 1 vs. 1.
Vitalie Spinu
spinuvit at gmail.com
Mon Aug 27 22:38:56 CEST 2012
>> Rodney Sparapani <rsparapa at mcw.edu>
>> on Mon, 27 Aug 2012 14:35:00 -0500 wrote:
> I just got around to testing 12.09 r4989. There is one issue
> with highlighting that I don't like. '1' is highlighted in
> an annoying hospital yellow.
(it's ess-numbers-face derived from font-lock-type-face)
> I guess I could live with that.
This won't be the default in the official release.
>
> But '1.' is not highlighted at all. Having just spent the best part
> of 3 weeks coding in C/C++, I think we should make no distinction
> between integers and doubles; leave that to the strongly typed
> languages.
I missed that for the simple reason that 1 and 1. in R are both doubles
(integer is 1L), and it didn't occur to me that somebody might want to
use 1. :)
Vitalie.
More information about the ESS-bugs
mailing list