https://issues.dlang.org/show_bug.cgi?id=23972
RazvanN <razvan.nitu1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1...@gmail.com Resolution|--- |INVALID --- Comment #2 from RazvanN <razvan.nitu1...@gmail.com> --- Thank you for taking the time of writing this bug report, however, as explained in this comment [1], the bug report is invalid. I1 and I2 are different types, therefore the is expression is correct in returning false. The fact that the pointer points to the same memory address is not relevant in this case since the compiler does not do any dataflow analysis to see where the interface was assigned. [1] https://github.com/dlang/dmd/pull/15696#pullrequestreview-1682054176 --