We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e9c8a commit 473cdf0Copy full SHA for 473cdf0
2 files changed
langs/outlaw/compile-expr.rkt
@@ -368,7 +368,7 @@
368
(seq (Lea r15 r)
369
(Push r15) ; rp
370
(Push rax) ; arg (saved for the moment)
371
- (compile-e e (list* #f #f c) g #f)
+ (compile-e e (list* #f #f (append cm c)) g #f)
372
(Pop r15) ;; HERE
373
(Push rax)
374
(Push r15)
langs/outlaw/test/test-runner.rkt
@@ -677,7 +677,12 @@
677
(check-equal? (run '(* 8 3)) 24)
678
(check-equal? (run '(* 16 2)) 32)
679
(check-equal? (run '(* 10 5)) 50)
680
- (check-equal? (run '(* 64 2)) 128))
+ (check-equal? (run '(* 64 2)) 128)
681
+ (check-equal? (run '(let ((pred (lambda (x) #t)))
682
+ (match 0
683
+ [(and (? pred) _) #t]
684
+ [_ #f])))
685
+ #t))
686
687
688
(define (test-runner-io run)
0 commit comments