mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Revert "wip canonical builtins in modules"
This reverts commit e1935a1e9f0c7ea1ffefe5f2f4f07f2c7666363b.
This commit is contained in:
parent
a1750567ff
commit
072cf4e844
4 changed files with 26 additions and 63 deletions
|
@ -307,15 +307,12 @@ fn gen(
|
|||
let loc_expr = main_expr.unwrap_or_else(|| {
|
||||
panic!("TODO gracefully handle the case where `main` was declared but not exposed")
|
||||
});
|
||||
|
||||
let mut subs = loaded.solved.into_inner();
|
||||
let content = match main_var {
|
||||
Some(var) => subs.get_without_compacting(var).content,
|
||||
None => todo!("TODO gracefully handle the case where `main` was declared but not exposed"),
|
||||
};
|
||||
|
||||
todo!("step 1. mono-module, step 2. actually have main here use the loaded builtin modules!");
|
||||
|
||||
// Generate the binary
|
||||
|
||||
let context = Context::create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue