mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-17 15:17:12 +00:00
Remove run anyway tip (#7782)
This commit is contained in:
parent
f479d6227e
commit
a27feb309a
7 changed files with 8 additions and 43 deletions
|
@ -619,7 +619,7 @@ pub fn test(matches: &ArgMatches, target: Target) -> io::Result<i32> {
|
|||
return handle_loading_problem(problem);
|
||||
}
|
||||
Err(LoadMonomorphizedError::ErrorModule(module)) => {
|
||||
return handle_error_module(module, start_time.elapsed(), path.as_os_str(), false);
|
||||
return handle_error_module(module, start_time.elapsed());
|
||||
}
|
||||
};
|
||||
let problems = report_problems_monomorphized(&mut loaded);
|
||||
|
@ -1133,7 +1133,7 @@ pub fn build(
|
|||
}
|
||||
}
|
||||
Err(BuildFileError::ErrorModule { module, total_time }) => {
|
||||
handle_error_module(module, total_time, path.as_os_str(), true)
|
||||
handle_error_module(module, total_time)
|
||||
}
|
||||
Err(BuildFileError::LoadingProblem(problem)) => handle_loading_problem(problem),
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
source: crates/cli/tests/cli_tests.rs
|
||||
expression: cli_dev_out.normalize_stdout_and_stderr()
|
||||
snapshot_kind: text
|
||||
---
|
||||
|
||||
── TOO MANY ARGS in tests/test-projects/module_params/arity_mismatch.roc ───────
|
||||
|
||||
The get_user function expects 1 argument, but it got 2 instead:
|
||||
|
@ -36,6 +34,4 @@ make partial application explicit.
|
|||
|
||||
────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
3 errors and 0 warnings found in <ignored for test> ms.
|
||||
|
||||
You can run <ignored for tests>
|
||||
3 errors and 0 warnings found in <ignored for test> ms
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
source: crates/cli/tests/cli_tests.rs
|
||||
expression: cli_dev_out.normalize_stdout_and_stderr()
|
||||
snapshot_kind: text
|
||||
---
|
||||
|
||||
── TYPE MISMATCH in tests/test-projects/module_params/BadAnn.roc ───────────────
|
||||
|
||||
Something is off with the body of the
|
||||
|
@ -42,6 +40,4 @@ Tip: It looks like it takes too many arguments. I'm seeing 1 extra.
|
|||
|
||||
────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
2 errors and 1 warning found in <ignored for test> ms.
|
||||
|
||||
You can run <ignored for tests>
|
||||
2 errors and 1 warning found in <ignored for test> ms
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
source: crates/cli/tests/cli_tests.rs
|
||||
expression: cli_dev_out.normalize_stdout_and_stderr()
|
||||
snapshot_kind: text
|
||||
---
|
||||
|
||||
── TYPE MISMATCH in tests/test-projects/module_params/unexpected_fn.roc ────────
|
||||
|
||||
This argument to this string interpolation has an unexpected type:
|
||||
|
@ -21,6 +19,4 @@ But this string interpolation needs its argument to be:
|
|||
|
||||
────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
1 error and 0 warnings found in <ignored for test> ms.
|
||||
|
||||
You can run <ignored for tests>
|
||||
1 error and 0 warnings found in <ignored for test> ms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue