Commit f070c049 by Ian Lance Taylor

compiler: Build import tables as needed for imported interfaces.

From-SVN: r187111
parent ecfd6cec
...@@ -669,6 +669,9 @@ Import::read_type() ...@@ -669,6 +669,9 @@ Import::read_type()
// This type has not yet been imported. // This type has not yet been imported.
ntype->clear_is_visible(); ntype->clear_is_visible();
if (!type->is_undefined() && type->interface_type() != NULL)
this->gogo_->record_interface_type(type->interface_type());
type = ntype; type = ntype;
} }
else if (no->is_type()) else if (no->is_type())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment