Removed struct keyword
This commit is contained in:
parent
9302eaef2f
commit
863fb7de5a
18 changed files with 44 additions and 40 deletions
|
@ -24,12 +24,12 @@ main() {
|
|||
assert b.y == 4
|
||||
}
|
||||
|
||||
struct Allocator {
|
||||
Allocator {
|
||||
block *any
|
||||
current int
|
||||
}
|
||||
|
||||
struct Point {
|
||||
Point {
|
||||
x int
|
||||
y int
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
import sys
|
||||
|
||||
struct Struct {
|
||||
Struct {
|
||||
func *any
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,6 @@ main() {
|
|||
c.value += 16
|
||||
}
|
||||
|
||||
struct Counter {
|
||||
Counter {
|
||||
value int
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
struct Point {
|
||||
Point {
|
||||
x int
|
||||
y int
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue