Skip to content

open directive fails in function scope #159

@skaller

Description

@skaller

if this works:

open X;
proc Y { ... }

then this should work too:

proc Y { 
  open X;
... 
}

but this is not so. The issues with nested opens have occurred before the cases found then fixed
but there are still some compnents that are not found. Specifically for FlxGui I get this:

SIMPLE NAME window_controller_interface NOT FOUND ERROR
In /Users/skaller/felix/src/packages/gui.fdoc: line 862, cols 24 to 51
861: {
862:   var windows = darray[window_controller_interface]();
                            ****************************
863:
Routine: inner_lookup_name_in_env

whereas if the open is outside the proc it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions