archives

« Bugzilla Issues Index

#3843 — Make 'super()' in non-derived constructors an early error


The current spec allows 'super()' in non-derived constructors but it is specced to fail ('this' is always initialized in derived constructors).

But whether the constructor is 'derived' or 'base' is syntactically determined, therefore it will be consistent, as in other cases, to make it an early error.


fixed in rev33 editor's draft


fixed in rev33