JAVA上がりで申し訳ないんですが、
Dってクラスとかインターフェイスにはアクセス保護属性って付けないもんなの?
下記コードのIのアクセス保護属性をいじると場合によってはリンクできないっぽそうなんだけど、
仕様それともバグ?

public class A {
 //public interface I {//OK
 //protected interface I {//OK
 //interface I {//OK
 //package interface I {//Error
 private interface I {//Error
  int func1();
 }
 private int test1(I i) {
  return i.func1();
 }
 public this(){}
 public void test(){
  I i = new class() I{
   int func1(){
   return 1;
   }
  };
  test1(i);
 }
}

エラーはこんな感じ
main.obj(main)
Error 42: Symbol Undefined _D4main1A1I5func1FZi