aboutsummaryrefslogtreecommitdiff
path: root/tools/odinfmt/tests/if.odin
blob: b05767edd43cd240d8830a03158cbe6dd3a6a9ef (plain)
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
package odinfmt_test


if_one :: proc() {
	if i := strings.index(imp.fullpath, ":"); i != -1 && i > 1 && i < len(imp.fullpath) - 1 {
	}
}

if_two :: proc() {
	if ret := unmarshal(j[field[:len(field) - 1]], a, allocadsdsdsdsdsdsdsdtor); ret != nil {
	}
}

if_three :: proc() {
	if position_in_node(
		position_context.binary.raaaaaaaaaaaaaaaaaaaight,
		position_context.position) {
 	}

	 if contains_comments_in_range(
		p,
		v.list[0].pos,
		v.list[len(v.list) - 1].end,
	) {
	
	}
}