mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Type Scalc flow to avoid unresolved typing
With the new EAppOp node, the typing of operator application has changed and this causes some problems with the example in test_scope/good/nothing.catala_en when retyping the LCalc to go to Scalc. This commit changes the weird thing that for generating Scalc, the "typed" parameter was set to "untyped".
This commit is contained in:
parent
a1ab58478c
commit
ca8e4989ea
@ -295,7 +295,7 @@ module Passes = struct
|
||||
~monomorphize_types :
|
||||
Scalc.Ast.program * Scopelang.Dependency.TVertex.t list =
|
||||
let prg, type_ordering =
|
||||
lcalc options ~includes ~optimize ~check_invariants ~typed:Expr.untyped
|
||||
lcalc options ~includes ~optimize ~check_invariants ~typed:Expr.typed
|
||||
~avoid_exceptions ~closure_conversion ~monomorphize_types
|
||||
in
|
||||
Message.emit_debug "Retyping lambda calculus...";
|
||||
|
Loading…
Reference in New Issue
Block a user