click bug?

Eddie Kohler kohler at icir.org
Fri Jan 17 15:16:43 EST 2003


Hi Jose,

> I've ran into the following problem:
> Globally declared elements are not visible inside element classes or
> compound blocks. In the example below, click reports the following errors:
> 
> undeclared element `ToOS' (first use in this block)
> `ToOS' input 0 unused

This is by design. Compound elements do not have access to their enclosing
scopes. You can work around this by giving the compound element another
output, or you can argue about why it would be important for us to support
nesting. :)

Eddie




More information about the click mailing list