This repository has been archived by the owner. It is now read-only.
Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImproved match ergonomics around references #24
Comments
This comment has been minimized.
This comment has been minimized.
|
If we infer (Let me know if I should wait for the actual RFC to get posted and move this comment there.) |
nrc
added
the
T-lang
label
Feb 10, 2017
This comment has been minimized.
This comment has been minimized.
|
Updated with RFC. |
This comment has been minimized.
This comment has been minimized.
liigo
commented
May 6, 2017
|
match type |
This comment has been minimized.
This comment has been minimized.
|
Note: this feature was accepted as RFC #2005. |
vitalyd
referenced this issue
Nov 23, 2017
Closed
Matching on a reference to an enum... issues arising for newbies #46208
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
nrc commentedFeb 9, 2017
•
edited by shepmaster
Point of contact
@nrc
Overview
Make
matcheasier to use and less boilerplate-y by auto-dereferencing in the condition expression and inferringrefs in the patterns.E.g.,
rather than (currently):
Status
Accepted as RFC 2005.
cc #17