get foreign call compiling (but not working)

This commit is contained in:
Folkert 2020-11-06 00:00:47 +01:00
parent 2f42463a97
commit 4c3f0a5002
3 changed files with 69 additions and 4 deletions

View file

@ -2146,9 +2146,8 @@ fn fabricate_host_exposed_def<'a>(
}
// TODO figure out something better for run lowlevel
use roc_module::low_level::LowLevel;
let low_level_call = Expr::RunLowLevel {
op: LowLevel::Not,
let low_level_call = Expr::ForeignCall {
foreign_symbol: "roc_fx_put_char".into(),
args: linked_symbol_arguments,
ret_var: var_store.fresh(),
};