-
-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String pattern alias #2295
String pattern alias #2295
Conversation
a65d40c
to
5660168
Compare
Hi @giacomocavalieri ! Would you like me to pick this work? |
5660168
to
eaa8b7a
Compare
@lpil sorry if it took me quite some time, I think the PR is ready for review now 👍 |
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.
Fab!
@@ -676,6 +693,7 @@ impl ValueConstructor { | |||
pub(crate) fn get_documentation(&self) -> Option<&str> { | |||
match &self.variant { | |||
ValueConstructorVariant::LocalVariable { .. } => Some("A locally defined variable."), | |||
ValueConstructorVariant::LocalConstant { .. } => Some("A locally defined constant."), |
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.
ValueConstructorVariant::LocalConstant { .. } => Some("A locally defined constant."), | |
ValueConstructorVariant::LocalConstant { .. } => Some("A locally defined variable."), |
This is an implementation detail of the compiler, it's still a regular variable from the user's point of view.
This should close #2294 and #2243