mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-31 09:07:21 +00:00
Add custom CalledVia for naked param vars
This commit is contained in:
parent
49a6b1bfba
commit
8b9cb22f49
2 changed files with 5 additions and 4 deletions
|
@ -99,6 +99,9 @@ pub enum CalledVia {
|
|||
/// This call is the result of desugaring a Result.try from `?` syntax
|
||||
/// e.g. Dict.get? items "key" becomes Result.try (Dict.get items "key") \item -> ...
|
||||
QuestionSuffix,
|
||||
|
||||
/// This call is a result of lowering a reference to a module-params-extended def
|
||||
NakedParamsVar,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue