chiark / gitweb /
test/: Make `nml.tickle' be a `progn' method.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 11:59:22 +0000 (12:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 17:11:39 +0000 (18:11 +0100)
I think this was always intended, but I didn't have the method
combination until now.

test/chimaera.ref
test/chimaera.sod

index 1842c083f0c88cc979b1c7380f4bb188476710d1..897e9536e9cc81c0e1ee0ea817efdaa73ca6cf52 100644 (file)
@@ -30,7 +30,13 @@ provoking Chimaera as a serpent
 Nom!
 tickle Chimaera #0...
 Munch!
+Bonk!
+Sssss!
 tickle Chimaera #1...
 Munch!
+Bonk!
+Sssss!
 tickle Chimaera #2...
 Munch!
+Bonk!
+Nom!
index 018957e1ff60c64e4aee3ee57b6ac139520f173d..d748bb518e1cd63a96aeb200b3379944071e1ff3 100644 (file)
@@ -16,6 +16,7 @@ code h : includes {
 class Animal : SodObject {
   int tickles = 0;
 
+  [combination = progn]
   void tickle();
 
   [role = before]