mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 09:17:35 +02:00
Remove trace statements
This commit is contained in:
parent
b69812cc3f
commit
f24c711f93
1 changed files with 2 additions and 2 deletions
|
@ -1652,7 +1652,7 @@
|
||||||
((const? exp) exp)
|
((const? exp) exp)
|
||||||
((ref? exp)
|
((ref? exp)
|
||||||
(when lp
|
(when lp
|
||||||
(trace:error `(found var ref ,exp in loop))
|
;(trace:error `(found var ref ,exp in loop))
|
||||||
(with-var! exp (lambda (var)
|
(with-var! exp (lambda (var)
|
||||||
(adbv:set-ref-in-loop! var #t))))
|
(adbv:set-ref-in-loop! var #t))))
|
||||||
exp)
|
exp)
|
||||||
|
@ -1687,7 +1687,7 @@
|
||||||
((app? (car (ast:lambda-body (car inner-exp)))))
|
((app? (car (ast:lambda-body (car inner-exp)))))
|
||||||
((equal? (caar (ast:lambda-body (car inner-exp))) loop-sym))
|
((equal? (caar (ast:lambda-body (car inner-exp))) loop-sym))
|
||||||
)
|
)
|
||||||
(trace:error `(found loop in ,exp))
|
;;(trace:error `(found loop in ,exp))
|
||||||
;; TODO: do we want to record the lambda that is a loop?
|
;; TODO: do we want to record the lambda that is a loop?
|
||||||
;; Continue scanning, indicating we are in a loop
|
;; Continue scanning, indicating we are in a loop
|
||||||
(map (lambda (e) (scan e #t)) exp)
|
(map (lambda (e) (scan e #t)) exp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue