Some code style fixes in the parser and bug fixes. (0.37.61)
This commit is contained in:
parent
29db3bc63e
commit
6648fa1e27
3 changed files with 17 additions and 17 deletions
|
|
@ -71,7 +71,7 @@ class Person(number age, string name)
|
|||
// typeof(instance) will call this and return it
|
||||
return "Class"
|
||||
|
||||
Class p = Person(33, "Jo")
|
||||
p = Person(33, "Jo")
|
||||
print(typeof(p)) // -> "Class"
|
||||
// p = "nope" // Uncomment to see TypeError: expected Class
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue