summaryrefslogtreecommitdiffstats
path: root/tests/012/oop.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/012/oop.tl')
-rw-r--r--tests/012/oop.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/012/oop.tl b/tests/012/oop.tl
index 51dadbf3..ac93790f 100644
--- a/tests/012/oop.tl
+++ b/tests/012/oop.tl
@@ -2,7 +2,7 @@
(defstruct animal nil
(:function whoami () "n/a")
- (:method print (self stream : pretty-p) (put-string self.[whoami] stream)))
+ (:method print (self stream : pretty-p) (put-string [self.whoami] stream)))
(defstruct dog animal
(:function whoami () "dog"))