mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Parse platform headers
This commit is contained in:
parent
a31ed6943f
commit
dfa61b4c18
7 changed files with 240 additions and 23 deletions
|
@ -1642,6 +1642,13 @@ fn parse_header<'a>(
|
|||
ident_ids_by_module,
|
||||
module_timing,
|
||||
)),
|
||||
Ok((ast::Module::Platform { header }, parse_state)) => {
|
||||
todo!(
|
||||
"TODO load a platform with {:?} and {:?}",
|
||||
header,
|
||||
parse_state
|
||||
);
|
||||
}
|
||||
Err((fail, _)) => Err(LoadingProblem::ParsingFailed { filename, fail }),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue