Commit efe1b211 authored by Committed by Edward Z. YangBrowse files
Don't compile signature packages with instantiations.
A signature package is a package that contains only signatures but no modules (equivalently, it is a package that has no provisions.) Previously, we did not treat signature packages any differently from normal packages, which, in particular, meant that when we instantiated a package using a signature package, we also instantiated the signature package. This is actually pretty useless, because we never actually use the instantiated signature (there's no code that actually gets compiled in this case). This patch treats signature packages specially, so that we don't actually instantiate dependencies on them. This means we have to compile less packages when handling signatures. Good! Signed-off-by: Edward Z. Yang <email@example.com>
Showing with 51 additions and 36 deletions