Description
There are two related use cases involving constants from imported programs that are not currently supported:
- Accessing a constant from a submodule of an imported program — e.g.,
child.aleo::submodule::CONST_NAME
- Accessing an imported program's constant from within a submodule of the current program — i.e., using
child.aleo::CONST_NAME inside a local submodule file
Accessing a top-level constant from an imported program (child.aleo::CONST_NAME) already works from the main program file.
Description
There are two related use cases involving constants from imported programs that are not currently supported:
child.aleo::submodule::CONST_NAMEchild.aleo::CONST_NAMEinside a local submodule fileAccessing a top-level constant from an imported program (
child.aleo::CONST_NAME) already works from the main program file.