Fix the fix to compound pair optimimzations.
Previous version could drop code on the ground in some cases.
This commit is contained in:
parent
8f32aad3ee
commit
207a12fa23
|
@ -137,9 +137,8 @@
|
|||
[(tc-result1: t) t])]
|
||||
[res #'e.arg])
|
||||
([accessor (in-list (reverse (syntax->list #'e.alt)))])
|
||||
#:break (not t)
|
||||
(cond
|
||||
[(subtype t (-pair Univ Univ)) ; safe to optimize this one layer
|
||||
[(and t (subtype t (-pair Univ Univ))) ; safe to optimize this one layer
|
||||
(syntax-parse accessor
|
||||
[op:pair-op
|
||||
(log-pair-opt)
|
||||
|
|
Loading…
Reference in New Issue
Block a user