Skip to content

Commit 263740e

Browse files
authored
module: Add implementation defined note for imports (#4290)
A similar note exists for module declarations: Implementation Defined: The mapping of package and module identifiers to directory and file names. This adds an equivalent note about import name resolution.
1 parent f57d363 commit 263740e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/module.dd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ $(P $(I ModuleFullyQualifiedName)s in the $(I ImportDeclaration) must be fully
228228
qualified with whatever packages they are in. They are not considered to be
229229
relative to the module that imports them.)
230230

231+
$(IMPLEMENTATION_DEFINED
232+
$(LI How the compiler resolves the package and module identifiers in an
233+
import declaration to its corresponding source files.)
234+
))
235+
231236
$(H3 $(LNAME2 name_lookup, Symbol Name Lookup))
232237

233238
$(P The simplest form of importing is to just list the modules being imported:)

0 commit comments

Comments
 (0)