blob: 353533f6963039603288c062d2688640a276d3f5 [file] [log] [blame]
// |jit-test| error: ReferenceError
function ygTreeView(id) {};
function ygNode() {}
ygNode.prototype.init = function () {
this.children = [];
}
ygTextNode.prototype = new ygNode;
function ygTextNode() {
this.init(it.next.bind(it), StopIteration)
}
userTree = new ygTreeView("userTree")
addMenuNode(userTree)
function addMenuNode(tree) {
new ygTextNode({}, tree.root, false)
}