D Compiler Bug?

Bottled Gin gin at bottle.com
Wed Feb 20 13:04:45 UTC 2019


On Wednesday, 13 February 2019 at 16:39:50 UTC, Bottled Gin wrote:
> Thanks for your help Teoh. I already reported 3 bugs earlier on 
> this thread. I will be adding another test to issue 19655 soon.
>
> https://issues.dlang.org/show_bug.cgi?id=19655
> https://issues.dlang.org/show_bug.cgi?id=19656
> https://issues.dlang.org/show_bug.cgi?id=19657

Added another failing test. This test does not involve assoc 
arrays. It is something to do with super class trait.

https://github.com/dsnippet/traitSuperBug

To reproduce the bug, compile foo.d

$ dmd -c foo.d
thud.d(4): Error: function void thud.Dap!int.Dap.thunk() does not 
override any function, did you mean to override void 
foo.Foo.thunk()?
thud.d(7): Error: template instance `thud.Dap!int` error 
instantiating

Will file another regression on bugzilla.




More information about the Digitalmars-d mailing list