Newt in Newt compiles (but does not run)
This commit is contained in:
@@ -79,6 +79,11 @@ tryEval env (VRef fc k _ sp) = do
|
||||
val <- vappSpine vtm sp
|
||||
case val of
|
||||
VCase _ _ _ => pure Nothing
|
||||
-- For now? There is a spot in Compile.newt that has
|
||||
-- two applications of fresh that is getting unfolded even
|
||||
-- though it has the same head and spine. Possibly because it's
|
||||
-- coming out of a let and is instantly applied
|
||||
VLetRec _ _ _ _ _ => pure Nothing
|
||||
v => pure $ Just v)
|
||||
(\ _ => pure Nothing)
|
||||
_ => pure Nothing
|
||||
|
||||
Reference in New Issue
Block a user