summaryrefslogtreecommitdiffstats
path: root/t/t4018/scheme-define-slash-public
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/t4018/scheme-define-slash-public7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t4018/scheme-define-slash-public b/t/t4018/scheme-define-slash-public
new file mode 100644
index 0000000..39a93a1
--- /dev/null
+++ b/t/t4018/scheme-define-slash-public
@@ -0,0 +1,7 @@
+(define bar-class%
+ (class object%
+ (field (info 5))
+ (define/public (foo) RIGHT
+ (+ info 42)
+ (* info ChangeMe))
+ (super-new)))