v/vlib/v/checker/tests/sumtype_mismatched_type.vv

5 lines
49 B
V

type AA = int | string
a := AA(3)
assert a == 3