Mihaela Chirea - SAOC 2020 Milestone 1 Update 4 - Improving DMD as a Library
Sönke Ludwig
sludwig at outerproduct.org
Mon Oct 19 17:37:46 UTC 2020
Am 19.10.2020 um 17:59 schrieb Mihaela Chirea:
> While going through the token types I also noticed that TOK.arrow seems
> to be unused. Is there a reason for keeping it? Same for int128 and
> uns128 but I thought those might be implemented in the future. Is
> TOK.arrow in a similar situation?
>
I think the only reason is to give a helpful error message in case
someone ports code from C/C++ or writes in that fashion. This is what
DMD outputs:
Error: use . for member lookup, not ->
More information about the Digitalmars-d
mailing list