simple: don't pass nil type to types.LookupFieldOrMethod
simple: don't pass nil type to types.LookupFieldOrMethod

This used to work by accident, but in Go 1.18 it panics.

dominikh/go-tools,dominikh/go-tools,dominikh/go-tools,dominikh/go-tools