diff options
-rw-r--r-- | spec/inputs/teal-lang.mp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/inputs/teal-lang.mp b/spec/inputs/teal-lang.mp index 29769d5..3368b95 100644 --- a/spec/inputs/teal-lang.mp +++ b/spec/inputs/teal-lang.mp | |||
@@ -11,10 +11,9 @@ $function "add(a:number, b:number):number", -> a + b | |||
11 | s = add(a.value, b) | 11 | s = add(a.value, b) |
12 | print(s) | 12 | print(s) |
13 | 13 | ||
14 | $record Point, [[ | 14 | $record Point, |
15 | x: number | 15 | x: number |
16 | y: number | 16 | y: number |
17 | ]] | ||
18 | 17 | ||
19 | $method "Point.new(x:number, y:number):Point", -> | 18 | $method "Point.new(x:number, y:number):Point", -> |
20 | $local "point:Point", setmetatable {}, __index: Point | 19 | $local "point:Point", setmetatable {}, __index: Point |