~mna/snow

snow/pkg/semantic/testdata/fn_non_type_selectors.snow -rw-r--r-- 215 bytes
424066c5Martin Angers doc: v0.0.5 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
struct S {
  var ss: int
  struct T {
    var tt: int
  }
}

var x: int 
let y: string

fn main() {
  var v1: x.y
  var v2: x.S 
  var v3: S.ss
  var v4: S.T.tt
  var v5: (x.y)
  var v6: (S.ss)
  var v7: (S.T.tt)
}