typo in Haxe documentation

This commit is contained in:
Cameron Steele 2014-12-29 15:00:12 -08:00
parent 1c52c5ea12
commit 228cc6ec5a

View File

@ -484,7 +484,7 @@ class LearnHaxe3{
// we can read this variable // we can read this variable
trace(foo_instance.public_read + " is the value for foo_instance.public_read"); trace(foo_instance.public_read + " is the value for foo_instance.public_read");
// but not write it // but not write it
// foo_instance.public_write = 4; // this will throw an error if uncommented: // foo_instance.public_read = 4; // this will throw an error if uncommented:
// trace(foo_instance.public_write); // as will this. // trace(foo_instance.public_write); // as will this.
trace(foo_instance + " is the value for foo_instance"); // calls the toString method trace(foo_instance + " is the value for foo_instance"); // calls the toString method