chore(tests): consistent captures

This commit is contained in:
Christian Clason 2023-12-24 12:52:21 +01:00
parent 17fae3f4a3
commit 10dd49958c
60 changed files with 872 additions and 873 deletions

View file

@ -1,30 +1,30 @@
type int = int
/* ^ variable */
/* ^ type.builtin */
/* ^ @variable */
/* ^ @type.builtin */
type int_array = array of int
/* ^ type.builtin */
/* ^ @type.builtin */
type record = {a: int, b: string}
/* ^ property */
/* ^ type.builtin */
/* ^ property */
/* ^ type.builtin */
/* ^ @property */
/* ^ @type.builtin */
/* ^ @property */
/* ^ @type.builtin */
var record := record {a = 12, b = "27"}
/* ^ variable */
/* ^ type */
/* ^ property */
/* ^ property */
/* ^ @variable */
/* ^ @type */
/* ^ @property */
/* ^ @property */
var array := int_array[12] of 27;
/* ^ variable */
/* ^ type */
/* ^ @variable */
/* ^ @type */
primitive func(a: int, b: string) : array
/* ^ parameter */
/* ^ type.builtin */
/* ^ parameter */
/* ^ type.builtin */
/* ^ type */
/* ^ @parameter */
/* ^ @type.builtin */
/* ^ @parameter */
/* ^ @type.builtin */
/* ^ @type */
/* vim: set ft=tiger: */