Is the world coming to an end?

KennyTM~ kennytm at gmail.com
Sat Apr 2 15:49:12 PDT 2011


On Apr 3, 11 06:27, ulrik.mikaelsson at gmail.com wrote:
> A D-newbie would probably be able to guess 0o for octal, but hardly
> octal!. octal! breaks the rule of least surprise.

Except a big error

     octal literals 011 are deprecated, use std.conv.octal!11 instead

will be emitted when the said newbie tries to compile with 011 :). See 
commit 
https://github.com/D-Programming-Language/dmd/commit/87afe713711060ec73942d1a94d3e28024781932


More information about the Digitalmars-d mailing list