mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Offer a way to print mono IR in uitest
This commit is contained in:
parent
191d8a7408
commit
53af6ed4eb
6 changed files with 146 additions and 4 deletions
|
@ -373,9 +373,6 @@ pub fn infer_queries(src: &str, options: InferOptions) -> Result<InferredProgram
|
|||
|
||||
let line_info = LineInfo::new(&src);
|
||||
let queries = parse_queries(&src, &line_info);
|
||||
if queries.is_empty() {
|
||||
return Err("No queries provided!".into());
|
||||
}
|
||||
|
||||
let mut inferred_queries = Vec::with_capacity(queries.len());
|
||||
let exposed_by_module = ExposedByModule::default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue