October 15, 2013 Is this a bug, if so, how would you summarize it? | ||||
---|---|---|---|---|
| ||||
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. |
October 15, 2013 Re: Is this a bug, if so, how would you summarize it? | ||||
---|---|---|---|---|
| ||||
Posted in reply to safety0ff | 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 |
Copyright © 1999-2021 by the D Language Foundation