Inheritance 13
This commit is contained in:
parent
d8ac625429
commit
848c846e09
12 changed files with 117 additions and 7 deletions
8
test/err/super_without_superclass.lox
Normal file
8
test/err/super_without_superclass.lox
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
class Eclair{
|
||||
cook(){
|
||||
super.cook();
|
||||
print "Pipe full of crème pâtissière.";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue