File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
drracket-tool-test/tests/check-syntax Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 557557 '((45 60 ) (187 202 ))
558558 '((45 60 ) (225 240 ))))
559559
560+ (check-equal?
561+ (for/set ([e (in-set
562+ (get-binding-arrows
563+ (string-append
564+ "(module m racket\n "
565+ " (define-local-member-name the-method-name)\n "
566+ " (define c%\n "
567+ " (class object%\n "
568+ " (define/pubment (the-method-name n)\n "
569+ " (inner 0 the-method-name n))\n "
570+ " (super-new))))\n " )))]
571+ ;; filter out arrows that don't start on the
572+ ;; `the-method-name` that appears inside
573+ ;; `define-local-member-name`
574+ #:when (equal? '(45 60 ) (car e)))
575+ e)
576+ (set
577+ '((45 60 ) (117 132 ))
578+ '((45 60 ) (153 168 ))))
579+
580+ (check-equal?
581+ (for/set ([e (in-set
582+ (get-binding-arrows
583+ (string-append
584+ "(module m racket\n "
585+ " (define-local-member-name the-method-name)\n "
586+ " (define c%\n "
587+ " (class object%\n "
588+ " (define/override (the-method-name n)\n "
589+ " (super the-method-name n))\n "
590+ " (super-new))))\n " )))]
591+ ;; filter out arrows that don't start on the
592+ ;; `the-method-name` that appears inside
593+ ;; `define-local-member-name`
594+ #:when (equal? '(45 60 ) (car e)))
595+ e)
596+ (set
597+ '((45 60 ) (118 133 ))
598+ '((45 60 ) (152 167 ))))
599+
560600;
561601;
562602;
You can’t perform that action at this time.
0 commit comments