Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed May 9, 2019
1 parent 6cc7d60 commit aa0e8a3
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,13 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMA-262
"aliasOf": "GEOMETRY-1"
},
"JSSTDLIB": {
"href": "https://github.com/tc39/proposal-javascript-standard-library/",
"title": "Standard Library Proposal"
"href": "https://proposal-javascript-standard-library-domenic.now.sh/",
"title": "Standard Library Proposal"
},
"IMPORT-MAPS": {
"href": "https://wicg.github.io/import-maps/",
"title": "Import Maps",
"authors": ["Domenic Denicola"]
}
}
</pre>
Expand Down Expand Up @@ -4458,7 +4463,8 @@ A [=module=] has a <dfn for=module>specifier</dfn> that uniquely identifies it.
<div algorithm>
A module has a [=list=] of
<dfn id="dfn-module-member" export lt="module member" for=module>module members</dfn> which are
[=interfaces=], [=read only=] [=regular attributes=], and [=regular operations=].
[=interfaces=], [=partial interfaces=], [=read only=] [=regular attributes=], and
[=regular operations=].

The [=module/module members=] of a [=module=] |module| are given by the following steps:

Expand All @@ -4485,8 +4491,6 @@ The [=module/module members=] of a [=module=] |module| are given by the followin

Note: The order that members appear in this list has significance for property enumeration in the
<a href="#es-modules">ECMAScript binding</a>.

Issue: Exclude [=partial interfaces=]?
</div>

For all [=modules=] |module|, all [=interfaces=] and [=partial interfaces=] that are in |module|'s
Expand All @@ -4496,10 +4500,14 @@ For all [=modules=] |module|, all [=interfaces=] and [=partial interfaces=] that
The <dfn for=module>url</dfn> of a [=module=] |module| is given by the following steps:

1. Let |specifier| be |module|'s [=module/specifier=].
1. Return the [=concatenation=] of « "<code>std:</code>", |specifier| ».
1. Let |url| be the [=concatenation=] of « "<code>std:</code>", |specifier| ».
1. Apply the [=URL parser=] to |url|, and return the result.

Note: The exact result of this algorithm is subject to change, in response to decisions about the
Import Maps proposal. [[IMPORT-MAPS]]
</div>

Note that like [=namespaces=], modules do not create types.
Note that like [=namespaces=], [=modules=] do not create types.

Rather than defining behavior when accessed, the [=attributes=] of a [=module=] act as a simple
storage location. The relevant language binding defines the steps to "set a module attribute" to
Expand Down Expand Up @@ -4593,7 +4601,8 @@ Its <dfn for="partial module declaration">specifier</dfn> is given by the
<a href="#prod-string">string</a> immediately following the <emu-t>module</emu-t> terminal symbol.
It has a [=list=] of [=partial module declaration/module declaration members|members=].

No [=extended attributes=] are applicable to [=partial module declarations=].
No [=extended attributes=] defined in this specification are applicable to
[=partial module declarations=].

For each [=partial module declaration=] |declaration|, there must be a [=module declaration=]
whose [=module declaration/specifier=] is |declaration|'s
Expand Down Expand Up @@ -13393,7 +13402,8 @@ them to be imported as ECMAScript modules.
1. [=list/For each=] |member| of |module|'s [=module/module members|members=]:
1. Assert: |member| is not annotated with either the [{{Exposed}}] or [{{SecureContext}}]
[=extended attributes=].
1. Append the [=identifier=] of |member| to |exports|.
1. If |member| is not a [=partial interface=]:
1. Append |member|'s [=identifier=] to |exports|.
1. Let |moduleRecord| be [=!=] [=CreateSyntheticModule=](|exports|, the following steps,
|realm|, undefined), with the following steps:
1. [=list/For each=] |member| of |module|'s [=module/module members|members=]:
Expand Down

0 comments on commit aa0e8a3

Please sign in to comment.