started using scope properly, improved error backtrace conversion

This commit is contained in:
Anton-4 2021-10-16 19:37:20 +02:00
parent 2158686a0a
commit a272765fc7
19 changed files with 184 additions and 110 deletions

View file

@ -111,7 +111,7 @@ pub enum Expr<'a> {
// Lookups
Var {
module_name: &'a str,
module_name: &'a str, // module_name will only be filled if the original Roc code stated something like `5 + SomeModule.myVar`, module_name will be blank if it was `5 + myVar`
ident: &'a str,
},