Skip to content

Commit

Permalink
Editorial: Standardize preambles for Environment Record concrete methods
Browse files Browse the repository at this point in the history
Reword existing preambles and fill in missing ones
according to the format set out in issue tc39#1981.

----

HasThisBinding() + HasSuperBinding():
- When the algorithm is simply returning a specific Boolean value,
  create a Note after the algorithm re providing (or not) the binding
  (moving the sentence from preamble if applicable).
- Reword re use of the word "regular" (avoid it or explain it).

----

Present never-invoked concrete methods more consistently.

Specifically, present DeleteBinding for module ER
more like CreateImmutableBinding for object ER.

- Don't say it "refuses to delete bindings",
  because that sounds like it throws an error if invoked,
  when in fact it's never invoked.

- Drop the emu-alg that just asserts it's never invoked.
  • Loading branch information
jmdyck committed Dec 13, 2020
1 parent 1cd7031 commit c4e578d
Showing 1 changed file with 69 additions and 78 deletions.
Loading

0 comments on commit c4e578d

Please sign in to comment.