Skip to main content

check_user_symbols

Function check_user_symbols 

Source
pub fn check_user_symbols(
    project: &Path,
    ir: &AppIr,
) -> Result<Vec<Diagnostic>, Error>
Expand description

Parses the registry module imported by the generated entry point and reports missing keys.

Syntax errors, re-exports, and dynamic registry shapes make the cheap check inconclusive. The build stage remains authoritative because it runs TypeScript module resolution and type checking.

ยงErrors

Returns an error when an existing registry module cannot be read.