chiark / gitweb /
test/chimaera.{sod,ref}: Make `Chimaera' less tolerant of tickling.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 5 Jan 2016 17:19:11 +0000 (17:19 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 May 2016 13:40:40 +0000 (14:40 +0100)
Just happens to demonstrate inheritance of slot initializers.

test/chimaera.ref
test/chimaera.sod

index 897e9536e9cc81c0e1ee0ea817efdaa73ca6cf52..bb2c11170580ff894c924852c167126f101df16b 100644 (file)
@@ -35,7 +35,7 @@ Sssss!
 tickle Chimaera #1...
 Munch!
 Bonk!
-Sssss!
+Nom!
 tickle Chimaera #2...
 Munch!
 Bonk!
index 6d62fb647bc536415a57703156010489e719877d..0723ae1e508e49aa273c18772f1a0f229000ac5f 100644 (file)
@@ -45,6 +45,7 @@ class Serpent : Animal {
 
 [nick = sir, link = Animal]
 class Chimaera : Lion, Goat, Serpent {
+  serpent.limit = 1;
 }
 
 code c : user {