v/vlib/v/checker/tests/fn_type_exists.vv

4 lines
74 B
V

type PantsCreator = fn (a Shirt) Pants
type PantsConsumer = fn (p Pants)