Include package eligibility classes during linking

This is important to include all terminating classifications, which
include assertions.  This is essential now that @keep support has been
removed; this essentially does the same thing, but in a more
sane/strict manner.

* src/current/compiler/linker.xsl (l:depgen)[preproc:symtable]:
  Include package-level eligibility class in initial dependency list.
master v2.3.0
Mike Gerwitz 2017-08-07 13:07:06 -04:00
parent 450ceee2d7
commit 481346b237
1 changed files with 5 additions and 0 deletions

View File

@ -186,6 +186,11 @@
or @name = '___worksheet'
or @type = 'meta' ]" />
<!-- include any package-level eligibility classes, which contain
terminating classifications and possibly other checks -->
<sequence select="preproc:sym[
@name = ancestor::lv:package/@preproc:elig-class-yields ]" />
<!-- TODO: messy; refactor this symbol situation -->
<!-- this should be the sole source of outputs and, consequently,
dependencies -->