Add custom CalledVia for naked param vars

This commit is contained in:
Agus Zubiaga 2024-08-27 13:39:20 -03:00
parent 49a6b1bfba
commit 8b9cb22f49
No known key found for this signature in database
2 changed files with 5 additions and 4 deletions

View file

@ -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)]