mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
off by 1
This commit is contained in:
parent
ee5d68a6cc
commit
b4dd1cd751
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ pub fn gen_from_mono_module(
|
|||
|
||||
if let Some((_, header_src)) = loaded.header_sources.get(&home) {
|
||||
src_lines.extend(header_src.split('\n'));
|
||||
src_lines.extend(src.split('\n'));
|
||||
src_lines.extend(src.split('\n').skip(1));
|
||||
} else {
|
||||
src_lines.extend(src.split('\n'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue