[Issue 20830] New: dmd 2.092.0 crashes during compilation.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 14 04:19:36 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20830
Issue ID: 20830
Summary: dmd 2.092.0 crashes during compilation.
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: kntroh at gmail.com
dmd 2.092.0 crashes during compilation this code:
interface T() { }
alias T!() A;
alias T!() B;
alias T!() C;
//class D : A, B { } // OK, dmd 2.092.0 will print a compilation error and the
exit code will be 1.
class D : A, B, C { } // dmd 2.092.0 will be crash and the exit code will be
-1073741819.
Windows 8.1 Pro 64-bit:
>dmd test.d
test.d(7): Error: class test.D inherits from duplicate interface T
>echo %ERRORLEVEL%
-1073741819
Linux Mint 19 (Tara) 64-bit:
$ dmd test.d
test.d(8): Error: class test.D inherits from duplicate interface T
Segmentation fault
$
--
More information about the Digitalmars-d-bugs
mailing list