I'm using Linux x86_64 and DMD64 D Compiler v2.064
The following code doesn't compile:
// file a.d:
module a;
import b;
import std.conv;
interface A
{
}
// file b.d:
module b;
import a;
interface B : A
{
}
Compilation ends with multiple errors in Phobos (see attachment).
Errors don't occur when I compile file b.d separately, only when I compile a.d (or both files at once).
Program compiles successfully when I change order of imports in a.d, so that std.conv is imported first.
Also, program compiles successfully when I make B a class or an abstract class instead of an interface (order of imports doesn't matter in this case).
Comment #1 by ppodsiadly — 2013-11-18T14:06:21Z
Created attachment 1292
Compilation errors
Comment #2 by robert.schadek — 2024-12-13T18:14:05Z