mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #906 from cameronsteele/master
typo in Haxe documentation
This commit is contained in:
commit
38be1f2f17
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user