# Pastebin nvue8UTe 'use strict'; class Base { constructor(x) { this.x = x; } } let f; class D1 extends Base { constructor() { f = () => super(2); } } assertThrows(function() { new D1(); }, ReferenceError); assertThrows(function() { var o = f(); print(o.x); }, ReferenceError);