mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
It's an error to expose values that aren't defined
This commit is contained in:
parent
845a2f8c75
commit
8e2c2e1809
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ impl Problem {
|
|||
Problem::UnusedDef(_, _) => Warning,
|
||||
Problem::UnusedImport(_, _) => Warning,
|
||||
Problem::UnusedModuleImport(_, _) => Warning,
|
||||
Problem::ExposedButNotDefined(_) => Warning,
|
||||
Problem::ExposedButNotDefined(_) => RuntimeError,
|
||||
Problem::UnknownGeneratesWith(_) => RuntimeError,
|
||||
Problem::UnusedArgument(_, _, _, _) => Warning,
|
||||
Problem::UnusedBranchDef(_, _) => Warning,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue