mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Report exposed-but-not-defined symbols
This commit is contained in:
parent
14288d5aa6
commit
ed222912b3
3 changed files with 16 additions and 2 deletions
|
@ -12,6 +12,7 @@ use roc_region::all::{Located, Region};
|
|||
pub enum Problem {
|
||||
UnusedDef(Symbol, Region),
|
||||
UnusedImport(ModuleId, Region),
|
||||
ExposedButNotDefined(Symbol),
|
||||
/// First symbol is the name of the closure with that argument
|
||||
/// Second symbol is the name of the argument that is unused
|
||||
UnusedArgument(Symbol, Symbol, Region),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue