Just another update

This commit is contained in:
Ingy döt Net 2015-02-20 00:35:01 -05:00
parent a25938f123
commit 00a190b0a6
6591 changed files with 94363 additions and 23227 deletions

View file

@ -20,7 +20,7 @@ class S : T {
}
override string toString() {
return "I'm the instance of S p: " ~ cast(string)str;
return "I'm the instance of S p: " ~ str.idup;
}
override T duplicate() { return new S(this); }
@ -41,6 +41,6 @@ void main () {
T copy = orig.duplicate();
orig.custom('Y');
writeln(orig);
writeln(copy); // Should have 'X' at the beginning.
orig.writeln;
copy.writeln; // Should have 'X' at the beginning.
}