reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/sensible_alias_support

Idea detail

sensible_alias_support

reqlan rq/extension/syntax/features-syntax.rq:64

block

Summary

if an imported idea shares a name with an idea in the current file:
When the import uses an alias, the base name may be reused locally — see import_tokenisation.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/syntax/features-syntax.rq

features-syntax.rq

file cluster

reqlan rq/extension/syntax

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

KeyValue
subreqs duplicate_error { should be raised if a local idea shares a name with an import binding (unaliased idea name, or the alias when present). @tests ( validating.test.ts:reports duplicate when local idea shares unaliased import binding validating.test.ts:reports duplicate when local idea shares import alias ) }, sensible_graph_resolution { the imported namespace should not be assosciated with the new idea: e.g. ```rq from "../subreqs.rq" import myidea as myideaalias myidea this a new idea. maybe it references myideaalias ``` `myidea` in the import statement should not be assosciated with the new `myidea` definition - they're totally different. @tests ( linking.test.ts:import idea reference resolves to imported file when local idea shares name validating.test.ts:allows local idea when import uses an alias ) }

Browse all attributes

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
file_reference ../../../packages/language/test/linking.test.ts:import idea reference resolves to imported file when local idea shares name packages/language/test/linking.test.ts:import idea reference resolves to imported file when local idea shares name ["../../../packages/language/test/linking.test.ts:import idea reference resolves to imported file when local idea shares
file_reference ../../../packages/language/test/validating.test.ts:allows local idea when import uses an alias packages/language/test/validating.test.ts:allows local idea when import uses an alias validating.test.ts:allows local idea when import uses an alias
file_reference ../../../packages/language/test/validating.test.ts:reports duplicate when local idea shares import alias packages/language/test/validating.test.ts:reports duplicate when local idea shares import alias validating.test.ts:reports duplicate when local idea shares import alias
file_reference ../../../packages/language/test/validating.test.ts:reports duplicate when local idea shares unaliased import binding packages/language/test/validating.test.ts:reports duplicate when local idea shares unaliased import binding validating.test.ts:reports duplicate when local idea shares unaliased import binding

Inbound references

KindIdeaPathSnippet
None

Unresolved references

KindIdeaPathSnippet
references import_tokenisation import_tokenisation

Local graph

Initialising graph…