archives

« Bugzilla Issues Index

#3367 — 15.2.1.* Module Semantics: Typos


15.2.1.15 Static and Runtme Semantics: Module Records

- preamble: "declarativeinformation" -> "declarative information"
- preamble: "In additional it includes" -> "Additionally it includes"
- Table 37, [[LocalExportEntries]]: "List of ImportEntry" -> "List of ExportEntry"
- Table 37, [[IndirectExportEntries]]: "List of ImportEntry" -> "List of ExportEntry"
- Table 37, [[StarExportEntries]]: "List of ImportEntry" -> "List of ExportEntry"
- NOTE after Table 38: Remove "the various"
- Table 38, [[ImportName]]: "underwhich" -> "under which"
- Table 39, [[ExportName]]: "underwhich" -> "under which"
- Table 39, [[ImportName]]: "ththis" -> "this"
- Table 39, [[ExportName]]: "underwhich" -> "under which"
- NOTE after Table 39: Remove "the various"


15.2.1.15.2 ModuleAt( list, name)

- preamble: "retrives" -> "retrieves"


15.2.1.16 Stati Semantics: ParseModuleAndImports ( realm, moduleName. visited )

- title: "Stati" -> "Static"
- title: "moduleName." -> "moduleName,"
- preamble: "modoles" -> "modules"
- step 10: HostGetSource does not accept a realm parameter
- step 13.a: "Additoinal" -> "Additional"
- step 13.a: "depenent" -> "dependent"
- step 17.c: "ImportedModules" -> "importedModules"
- step 21: "importEnties" -> "importEntries"
- step 22: "indirectExportsEntries" -> "indirectExportEntries"
- NOTE: "ParseAndLink" is not defined


15.2.1.16.1 NormalizeModuleName( realm, unnormalizedName )

- step 4: Change right paren to right curly


15.2.1.17 Static Semantics: GetExportedNames(modules, moduleName, circularitySet)

- step 1: ".[name]]" -> "[[Name]]"
- step 8.b: Change right curly to right paren


15.2.1.18 Static Semantics: ResolveExport( modules, moduleName, exportName, circularitySet)

- step 1: ".[Name]]" -> "[[Name]]"
- step 3: "circulairtySet" -> "circularitySet"
- step 6.a.i: Change right curly to right paren
- step 7c: "can not" -> "cannot"
- step 9.a: Change right curly to right paren


15.2.1.19 Runtime Semantics: ModuleEvaluationJob ( moduleName )

- step 6.d: LinkModules does not expect parameter `moduleName`


15.2.1.20 Runtime Semantics: LinkModules( realm, newModuleSet)

- step 1-2: undeclared variable "moduleName"
- step 4: "then" -> "the"
- step 5: "elemenbt" -> "element"
- step 5.a: "satatus" -> "status"
- step 7: "then" -> "the"


15.2.1.21 Runtime Semantics: ModuleDeclarationInstantiation( module, realm, moduleSet )

- step 3.a: Change right curly to right paren
- step 8.a.v.1: Change ; to full stop
- step 8.a.v.2: "ModuleNameSpaceCreate" -> "ModuleNamespaceCreate"


15.2.1.22 Runtime Semantics: ModuleEvaluation(module, realm)

- title: "module" -> "m" to match algorithm (or rename "m" -> "module" in algo)
- step 3.a: ... -> "Let requires be ModuleAt(realm.[[modules]], name)."


15.2.3 Exports

ExportClause[NoReference] :

- Remove "[NoReference]"


15.2.3.1 Static Semantics: Early Errors

- "if n is" -> "if the StringValue of n is"
- NOTE: "ReferencedNames" -> "ReferencedBindings"


15.2.3.5 Static Semantics: ExportEntriesForModule

- ExportSpecifier : IdentifierName as IdentifierName

- step 5: "sourceName" -> "importName"
- step 5: "null" -> "localName"


15.2.3.8 Static Semantics: ModuleRequests

- ExportDeclaration : export ExportClause FromClause ;

Maybe also add `ExportDeclaration : export * FromClause` for clarity? This is implicit due to the chaining rule, but making this explicit helps the reader to understand this part.


15.2.3.9 Static Semantics: ReferencedBindings

- ExportSpecifier : IdentifierName as IdentifierName

Step 6-8 left over from previous revision.


fixed in rev29 editor's draft


fixed in rev29