alan icon indicating copy to clipboard operation
alan copied to clipboard

Issues with imported functions and types

Open dfellis opened this issue 4 years ago • 0 comments

If you try to import a function that uses a custom type internally that is never exposed through the function inputs/output (or itself uses a function that does), it fails unless you also import this custom type. This requires knowledge of superfluous "hidden" data.

This issue may be resolved when cleaning up the scope hierarchy logic in the compiler, but is an interesting facet to keep in mind.

dfellis avatar Feb 15 '21 19:02 dfellis