mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Check for prim:cont when known function is called via k
This commit is contained in:
parent
0a9cd2a6b7
commit
3b1f124b6a
1 changed files with 3 additions and 1 deletions
|
@ -2098,7 +2098,9 @@
|
|||
;; Allow candidates to remain if they are just function calls
|
||||
;; and they are called by the same function that defines them
|
||||
((and cand
|
||||
(equal? (ast:lambda-id cand) scope))
|
||||
(equal? (ast:lambda-id cand) scope)
|
||||
(not (any prim-call/cont? (cdr exp)))
|
||||
)
|
||||
(cdr exp))
|
||||
(else
|
||||
exp))))
|
||||
|
|
Loading…
Add table
Reference in a new issue