File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
drracket-tool-test/tests/check-syntax Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 597597 '((45 60 ) (118 133 ))
598598 '((45 60 ) (152 167 ))))
599599
600+ (check-equal?
601+ (for/set ([e (in-set
602+ (get-binding-arrows
603+ (string-append
604+ "(module m racket\n "
605+ " (define-local-member-name the-method-name)\n "
606+ " (class* object% ()\n "
607+ " (define/public the-method-name\n "
608+ " (letrec ([f (λ ()\n "
609+ " (the-method-name)\n "
610+ " (send this the-method-name))])\n "
611+ " f))\n "
612+ " (super-new)))\n " )))]
613+ ;; filter out arrows that don't start on the
614+ ;; `the-method-name` that appears inside
615+ ;; `define-local-member-name`
616+ #:when (equal? '(45 60 ) (car e)))
617+ e)
618+ (set
619+ '((45 60 ) (102 117 ))
620+ '((45 60 ) (163 178 ))
621+ '((45 60 ) (211 226 ))))
622+
600623;
601624;
602625;
You can’t perform that action at this time.
0 commit comments