1
0
forked from Mirror/wren

Error if a class tries to inherit from null.

Fix #246.
This commit is contained in:
Bob Nystrom
2015-09-12 10:14:04 -07:00
parent e1f979e78a
commit 1a27593993
4 changed files with 32 additions and 39 deletions

View File

@ -0,0 +1 @@
class Foo is null {} // expect runtime error: Class 'Foo' cannot inherit from a non-class object.