~mna/snow unlisted

snow/pkg/parser/testdata/invalid_interface.snow.want -rw-r--r-- 731 bytes
424066c5Martin Angers doc: v0.0.5 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
file [1, #0] [0:101]
  interface [3] [0:101]
    ident [I] [10:11]
    fn [16:50]
      @ [2] [16:39]
        ident [external] [17:25]
        field [26:31]
          ident [x] [26:27]
          int [1] [29:30]
        field [32:38]
          ident [y] [32:33]
          string ["a"] [35:38]
      ident [foo] [45:48]
      sig [0->0] [48:50]
    fn [54:78]
      ident [bar] [57:60]
      sig [0->0] [60:62]
      block [1] [63:78]
        expr [69:74]
          call [0] [69:74]
            ident [foo] [69:72]
    fn [82:99]
      ident [quz] [85:88]
      generic [88:92]
        param [89:91]
          ident [$T] [89:91]
      sig [1->0] [92:99]
        param [93:98]
          ident [t] [93:94]
          ident [$T] [96:98]