tc39 / proposal-static-class-features

The static parts of new class features, in a separate proposal
https://arai-a.github.io/ecma262-compare/?pr=1668
127 stars 27 forks source link

RS ClassDefinitionEvaluation, step 34.a. looks incorrect #57

Closed Andrew-Cottrell closed 4 years ago

Andrew-Cottrell commented 4 years ago

https://github.com/tc39/proposal-static-class-features/blob/d5b1b1bd485ffaa0377ac3c2f9e2d5dba0c9c693/spec.html#L148

  1. For each item fieldRecord in order from staticFields, a. Perform ? DefineField(F, field).

Should this instead be?

  1. For each item fieldRecord in order from staticFields, a. Perform ? DefineField(F, fieldRecord).
caiolima commented 4 years ago

@Andrew-Cottrell thank you very much for reporting this. PR #58 should fix this issue.