While coding, I've stumbled upon this weird bug.
Apparently, this code snippet right here:
module program;
import std.stdio;
class Foo {
void bar() {
writeln( "Foo Bar!" );
}
}
void main() {
new Foo().bar();
}
Doesn't work.
It outputs the following error:
program.d(12): found '.' when expecting ';' following statement
Line 12 is: new Foo().bar();