commit 4f8f97c58f092a667984483c6419e774bd0ffe5c
parent 7a4767a341f24372f57420891df6ad37a92b0c05
Author: Robby Findler <robby@racket-lang.org>
Date: Wed, 28 Nov 2012 13:12:28 -0600
improve the 'method' syntax error so it gives a hint which argument is which
original commit: e7c622214254aa111361de11f22ff77f24f8e7f8
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/collects/scribble/private/manual-method.rkt b/collects/scribble/private/manual-method.rkt
@@ -14,8 +14,8 @@
constructor-tag
name-this-object)
-(define-syntax-rule (method a b)
- (*method 'b (quote-syntax a)))
+(define-syntax-rule (method class/interface method-name)
+ (*method 'method-name (quote-syntax class/interface)))
(define-syntax-rule (xmethod a b)
(elem (method a b) " in " (racket a)))