E50330: expected squirrelled data key not set on symbol
What went wrong
An @Squirrelled directive expected a squirrelled-data key to be set on the symbol, but that key carries no value.
Squirrelled data is the key/value metadata the compiler attaches to symbols so information set in an early phase is readable in a later one.
Note
This code concerns a compiler-development directive. The directives other than @Test (the ones that state what the compiler should report, resolve, measure or generate for a source) are tooling for the people who develop the EK9 compiler; they are not designed for mainstream programs, and a program needs none of them. The only directive an EK9 program uses is @Test.
How to fix it
If you are writing an EK9 program: remove the directive. Only @Test belongs in a program. If you are developing the compiler: docs/testing/EK9_DIRECTIVE_TEST_FILE_PROCESS.md in the compiler repository describes every directive and how to fix this report.
See also
Compiler development
This code concerns the compiler-development directives (@Error, @Resolved, @Complexity and the rest), which are not designed for mainstream programs - the only directive a program uses is @Test, so it has no example. Compiler developers: docs/testing/EK9_DIRECTIVE_TEST_FILE_PROCESS.md in the compiler repository describes every directive.
Found a problem?
If EK9 reported E50330 for a program you think is valid, or did not report it where it should have, use the compiler form with the smallest program that shows it. If this page is wrong or unclear, use the documentation form. Both are at github.com/ek9lang/ek9-issues.