Reduced patch to go/types, because nil values are handled properly now.