Module initializers spec proposal (#35140)
authorJoseph Musser <me@jnm2.com>
Sat, 25 Apr 2020 22:46:44 +0000 (18:46 -0400)
committerGitHub <noreply@github.com>
Sat, 25 Apr 2020 22:46:44 +0000 (15:46 -0700)
commitae1b5b2589a5b95985aad97c9ec428c00dfd258a
treeabb4f7bb7cf7aea505d559fffa9c6d6d8f641b4d
parent882263fbacd63f9afb4aa1fd4a48b03bf65bee0f
Module initializers spec proposal (#35140)

* Bring over spec from https://blogs.msdn.microsoft.com/junfeng/2005/11/19/module-initializer-a-k-a-module-constructor/

* Document presence of 'metadata merging' as spec bug

* Guarantees that apply to all type initializers apply to module initializers

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
docs/design/specs/Ecma-335-Augments.md