Merge pull request #906 from cameronsteele/master

typo in Haxe documentation
This commit is contained in:
ven 2014-12-30 00:21:17 +01:00
commit 38be1f2f17

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