Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 28, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid CC| |ag0aep6g@gmail.com -- |
March 28, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 --- Comment #1 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- specs says that literals cannot be aliased[1]. [1] http://dlang.org/declaration.html#AliasDeclaration -- |
March 28, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 --- Comment #2 from Shammah Chancellor <shammah.chancellor@gmail.com> --- Seems like an arbitrary restriction. Any reason for that? I will file an issue against SDC. -- |
March 28, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ketmar@ketmar.no-ip.org --- Comment #3 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- dunno, i can't see any reason to duplicate `enum` with `alias`. `alias` meant for aliasing *identifiers*, not literals. i.e. enum a = 42; alias b = a; is working. -- |
March 29, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 deadalnix <deadalnix@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deadalnix@gmail.com --- Comment #4 from deadalnix <deadalnix@gmail.com> --- alias foo = int; Is int an identifier now ? -- |
March 29, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 --- Comment #5 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- and it always was. it's the indentifier which denotes type. -- |
March 29, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 --- Comment #6 from deadalnix <deadalnix@gmail.com> --- (In reply to Ketmar Dark from comment #5) > and it always was. it's the indentifier which denotes type. Well then 3 always was as well. It is the "indentifier" which denotes value. Good to see you agree with me. -- |
March 29, 2015 [Issue 14361] DMD should compile SDC test0158.d | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 --- Comment #7 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- and space to. and absense of chars altogether. to be honest, everything is just a "0" or "1". so i wonder why you are using such unnecessary complex things as high-level languages instead of entering binary codes with switches, as real men do. -- |
April 11, 2015 [Issue 14361] [SDC] Allow aliasing integer and other literals | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com Hardware|x86 |All Version|unspecified |D2 Summary|DMD should compile SDC |[SDC] Allow aliasing |test0158.d |integer and other literals OS|Mac OS X |All Severity|normal |enhancement --- Comment #8 from yebblies <yebblies@gmail.com> --- This is working as intended, so it's an enhancement. -- |
May 30, 2019 [Issue 14361] [SDC] Allow aliasing integer and other literals | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14361 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid | CC| |b2.temp@gmx.com -- |
Copyright © 1999-2021 by the D Language Foundation