archives

« Bugzilla Issues Index

#3403 — "Assert:" Isn't formally defined in the spec


The "Assert:" mechanism should be defined:

1. what happens when the assertion is correct
2. what happens when the assertion is no correct


see http://people.mozilla.org/~jorendorff/es6-draft.html#sec-algorithm-conventions

about 3 paragraphs past the algorithm level outline


For reference.

A step may assert an invariant condition of its algorithm. Such assertions are used to make explicit algorithmic invariants that would otherwise be implicit. Such assertions add no additional semantic requirements and hence need not be checked by an implementation. They are used simply to clarify algorithms.


What do you think about adding some words about their actual appearance "ASSERT: ..."?


fixed in rev29 editor's draft


fixed in rev29