alan
alan copied to clipboard
Issues with imported functions and types
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.