Walter Bright:

It's not a bug. It's deliberate, and is there to support mechanical translation of Java code.

Is this stuff written somewhere in a D design rationales page?

Now that D is several years old, how much Java code was ported to D? (Despite there is no mechanical Java->D translator yet). Was this automatic translation desire worth the troubles (like inner classes, like the risk of killing switch optimizations by mistake)?

This post is about two Scala annotations. If that's not a bug, is something like that first Scala annotation useful in D too?

Bye,
bearophile

Reply via email to