mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 14:35:12 +00:00
add roc check tip
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
d9db14c3d7
commit
b491a5c3e6
1 changed files with 4 additions and 2 deletions
|
@ -395,8 +395,10 @@ impl<'state, 'a> State<'state, 'a> {
|
|||
Some(s) => s,
|
||||
None => unreachable!(
|
||||
"\n\tNo borrow signature for {name:?} layout.\n\n\t\
|
||||
Tip: This can happen when you call a function with less arguments than it expects.\n\t\
|
||||
Like `Arg.list!` instead of `Arg.list! {{}}`"
|
||||
Tip 1: This can happen when you call a function with less arguments than it expects.\n\t\
|
||||
Like `Arg.list!` instead of `Arg.list! {{}}`.\n\t
|
||||
Tip 2: `roc check yourfile.roc` can sometimes give you a helpful error.
|
||||
"
|
||||
)
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue