ericmckean / traceur-compiler

Automatically exported from code.google.com/p/traceur-compiler
Apache License 2.0
0 stars 0 forks source link

Class should only be able to extend a function or null, not any object #194

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This was clarified today.

var object = {};
class C extends object {

}

should throw TypeError.

Original issue reported on code.google.com by arv@chromium.org on 31 Jan 2013 at 11:10

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/traceur-compiler/source/detail?r=32f963f

Original comment by arv@google.com on 5 Feb 2013 at 10:49