mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
WIP
This commit is contained in:
parent
8dc3146a7d
commit
0754b8e3ce
4 changed files with 16 additions and 9 deletions
|
@ -84,6 +84,12 @@ where
|
|||
for proc in procs {
|
||||
let spec = proc_spec(proc)?;
|
||||
|
||||
dbg!(proc.name);
|
||||
for b in &func_name_bytes(proc) {
|
||||
eprint!("{:x}", b);
|
||||
}
|
||||
eprintln!("");
|
||||
|
||||
m.add_func(FuncName(&func_name_bytes(proc)), spec)?;
|
||||
|
||||
if format!("{:?}", proc.name).contains("mainForHost") {
|
||||
|
@ -127,6 +133,8 @@ where
|
|||
p.build()?
|
||||
};
|
||||
|
||||
eprintln!("{}", program.to_source_string());
|
||||
|
||||
morphic_lib::solve(program)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue