Fix small syntax bug

This commit is contained in:
FeepingCreature 2013-09-08 13:15:38 +02:00
parent ff6cf18364
commit ff24568b09

View File

@ -223,7 +223,7 @@ void main(string[] args) {
void writeS() { writeln "$s"; }
}
C cc = new C;
// c is a *reference* to C. Classes are always references.
// cc is a *reference* to C. Classes are always references.
cc.a = 5; // Always used for property access.
auto ccp = &cc;
(*ccp).a = 6;