Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

Conversation

@mwu-tow
Copy link
Contributor

@mwu-tow mwu-tow commented Apr 15, 2020

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:

  • The documentation has been updated if necessary.
  • All code conforms to the Rust, Scala, Java or Haskell style guides as appropriate.
  • All code has been tested where possible.

@mwu-tow mwu-tow requested a review from wdanilo April 15, 2020 01:19
@mwu-tow mwu-tow requested a review from farmaazon as a code owner April 15, 2020 01:19
@mwu-tow mwu-tow self-assigned this Apr 15, 2020
@mwu-tow mwu-tow marked this pull request as draft April 15, 2020 01:19
Copy link
Collaborator

@farmaazon farmaazon left a 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
Copy link
Collaborator

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?

Copy link
Contributor Author

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.
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@mwu-tow mwu-tow mentioned this pull request Apr 15, 2020
3 tasks
@mwu-tow mwu-tow closed this Apr 15, 2020
@wdanilo wdanilo deleted the wip/mwu/alias-analysis branch April 15, 2020 21:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants