You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: semantic-analysis/src/Analysis/Syntax/Python.hs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ eval eval = \case
85
85
-- FIXME: RaiseV2
86
86
-- FIXME: whatever the second field is
87
87
Statement (Py.StmtExpr e sp) -> setSpan sp (eval (Expr e))
88
-
Statement (Py.Fun n ps _r ss sp) ->let ps' = mapMaybe (\ p ->case p of { Py.Param n _ _ _ ->Just (ident n) ; _ ->Nothing}) ps in setSpan sp $ letrec (ident n) (dabs ps' (foldr (\ (p, a) m -> let' p a m) (suite ss) .zip ps'))
88
+
Statement (Py.Fun n ps _r ss sp) ->let ps' = mapMaybe (\case { Py.Param n _ _ _ ->Just (ident n) ; _ ->Nothing}) ps in setSpan sp $ letrec (ident n) (dabs ps' (foldr (\ (p, a) m -> let' p a m) (suite ss) .zip ps'))
89
89
Expr (Py.Var n sp) -> setSpan sp $let n' = ident n in lookupEnv n' >>=maybe (dvar n') fetch
0 commit comments