On Friday, 15 December 2017 at 05:19:04 UTC, Tofu Ninja wrote:
TypeInfo_Class.interfaces has TypeInfo_Class and not TypeInfo_Interface?Is this correct? Or is it a bug? Doesn't make much sense to me.
Also the following code prints false so there are some consequences to this.
import std.stdio; void main(string[] args) { writeln(typeid(c).interfaces[0].classinfo == typeid(i)); } interface i {} class c : i {}