{
scope hoge = new File("foo.bar", FileMode.OutNew);
with(hoge){
writefln("Foo");
}
}

これを、

with(scope new File("foo.bar", FileMode.OutNew)){
writefln("Foo");
}

こうかけるようになったらいいなって思った。