mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-14 10:45:06 +02:00
Merge pull request #906 from cameronsteele/master
typo in Haxe documentation
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user