-
Notifications
You must be signed in to change notification settings - Fork 34
[WIP] Second checkpoint for alias analysis #359
Conversation
farmaazon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I didn't get into detail, but I see here a nice bit of work. I leave only some minor comments.
| opt-level = 0 | ||
| lto = false | ||
| debug = false | ||
| debug = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we set it to true? Have you checked why it was set to false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I need this to properly debug my test, it also provides line numbers in call stack when test is failing.
@wdanilo Can you comment why it was set to false? Is it still necessary?
| #[derive(Clone,Copy,Debug,Display,PartialEq)] | ||
| pub enum OccurrenceKind { Used, Introduced } | ||
|
|
||
| /// If the current context in the AST processor is a pattern context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to have a reference to a document which describes what pattern context is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add TODO comment, to be fixed when #349 lands.
Pull Request Description
Code should be functionally complete with the exception of macro support.
PR against the previous accepted checkpoint for #322.
Important Notes
Checklist
Please include the following checklist in your PR: