kayuri/HNC — Issue #10: Dependent root-level definitions are not supported  
Author: nponeccop
Created: 2011-10-08 12:12:09+00:00
State: open

Test case:

x = 5
y = x

x has an invalid qualifier (see `CPP.Intermediate.Qualifier` and its use in `CPP.BackendTools`) in `@Definition.library`
attribute of `y` so `x` is compiled as `ff::x` instead of just `x`.

The attribute is assigned at `tl.library = M.insert @hd.name @hd.definitionType @lhs.library`
line of AG/Root.ag.

Note that by design of HN language higher definitions cannot depend on lower ones, so
`@name` propagates in only one direction. Also, there's no `\n` at EOF.