module main

struct Foo {
	a string
	b ?string
}

fn test_main() {
	$for field in Foo.fields {
		print(field.typ)
		$if field.typ is ?string {
			print(1)
		} $else $if field.typ is string {
			print(2)
		}
	}
}
