Printable idea sheet
import_error_recovery
reqlan rq/language/imports.rq:21
A malformed import must not invalidate the rest of the file.
Recoverable invalid `from` shapes parse as local import nodes with a line-level diagnostic:
- `from "path" as alias` ( mistaken namespace form ) — suggest `import "path" as alias` or `from "path" import <idea>`
- bare `from "path"` — require the `import <idea>` clause
- `from` without a quoted path — consume the remainder of the line as an invalid import
Later imports and top-level ideas continue to parse and link normally.
Same recovery posture for nameless top-level braces: no_name_idea_safe_warning.
If lex / parse never completes, see parse_budget_timeout.
Interactive page: import_error_recovery