mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
repl now uses replfile.roc
Previously this was using an empty filename but that seems potentially confusing during debugging.
This commit is contained in:
parent
d62cc0b1d3
commit
fa48f9713e
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ pub fn compile_to_mono<'a, 'i, I: Iterator<Item = &'i str>>(
|
|||
target_info: TargetInfo,
|
||||
palette: Palette,
|
||||
) -> (Option<MonomorphizedModule<'a>>, Problems) {
|
||||
let filename = PathBuf::from("");
|
||||
let filename = PathBuf::from("replfile.roc");
|
||||
let src_dir = PathBuf::from("fake/test/path");
|
||||
let (bytes_before_expr, module_src) = promote_expr_to_module(arena, defs, expr);
|
||||
let loaded = roc_load::load_and_monomorphize_from_str(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue