Printable idea sheet
anonymous_imports_allowed
reqlan rq/language/imports.rq:148
Katz 0.073
A quoted path plus idea — for example `attribute` — opens that file as an ideaset.
Every idea in the target file is in scope for that reference.
A from-import or qualified import of the same path only binds the listed names for bare `name` references.
It must not hide other ideas from a quoted-path reference.
- implementation
- reqlan-scope.ts, reqlan-linker.ts
- status
- done
- tests
- linking.test.ts:resolve anonymous import in bracket reference without import statement, linking.test.ts:quoted-path qualified idea is not limited to from-import specifiers, linking.test.ts:quoted-path qualified idea is not limited to a qualified import of the same file, linking.test.ts:sqlite-schema quoted path reaches indexer ideas that are not from-imported
Interactive page: anonymous_imports_allowed