According to the documentation,main() must be declared using one of the
following forms:
void main() { ... }
void main(char[][] args) { ... }
int main() { ... }
int main(char[][] args) { ... }
However with the latest D2 compiler I can write:
import std.stdio;
void main (string[] args) {
writeln("main with string[]");
}
What's the trick?