updated examples a tiny bit
gonna start work on actual compiler now
This commit is contained in:
@@ -8,7 +8,8 @@ enum Gender {
|
||||
struct Person {
|
||||
name: String,
|
||||
age: Int = 0,
|
||||
speak: Func
|
||||
speak: Func,
|
||||
gender: Gender
|
||||
}
|
||||
|
||||
speak = Func(sentence: String): Nil {
|
||||
|
||||
Reference in New Issue
Block a user