digitalmars.D.learn - Is this a bug, if so, how would you summarize it?
- safety0ff (9/9) Oct 14 2013 See this code: http://dpaste.dzfl.pl/b3ae1667
- monarch_dodra (4/13) Oct 15 2013 I didn't look too much into this, because it's not failing for me
See this code: http://dpaste.dzfl.pl/b3ae1667 On DMD it gives the error message if version=bug, but not if version=bug AND version=workaround1 (through 6). On LDC it segfaults at run time if version=bug, but not if version=bug AND version=workaround1 (through 6). Workaround1 - workaround4 are more or less boring. However it is surprising that workaround5 and workaround6 work but in the bug (when there's two aliases) you then get an error message for each alias.
Oct 14 2013
On Tuesday, 15 October 2013 at 06:40:13 UTC, safety0ff wrote:See this code: http://dpaste.dzfl.pl/b3ae1667 On DMD it gives the error message if version=bug, but not if version=bug AND version=workaround1 (through 6). On LDC it segfaults at run time if version=bug, but not if version=bug AND version=workaround1 (through 6). Workaround1 - workaround4 are more or less boring. However it is surprising that workaround5 and workaround6 work but in the bug (when there's two aliases) you then get an error message for each alias.I didn't look too much into this, because it's not failing for me on the latest head, so whatever it is, it's fixed already. http://ftp.digitalmars.com/dmd2beta.zip
Oct 15 2013