compiler: finalize types parsed for inline functions

When we inline functions, we may parse types that we have not seen
before inlining.  Inlining runs after the finalize_methods pass, so
those types will not be finalized, meaning that we don't have an
accurate list of which methods they support.  Explicitly finalize them
when we parse them.

Change-Id: I93632910ca87f1168523786f5ead6ec721e0e4f3
Reviewed-on: https://go-review.googlesource.com/c/150068
Reviewed-by: Than McIntosh <thanm@google.com>
4 files changed