Changes between Initial Version and Version 1 of Ticket #46
- Timestamp:
- Sep 27, 2017, 5:01:01 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46 – Description
initial v1 1 1 Enum constants are currently lvalues, making for a cheap conversion to reference. Because of this, & operators are added incorrectly, causing gcc errors. 2 2 3 My first instinct was to say that all enum VariableExprsare non-lvalues, but of course this doesn't work since actual enum variables are lvalues. This will require a more nuanced approach, but I think the basic idea is right.3 My first instinct was to say that all enum `VariableExprs` are non-lvalues, but of course this doesn't work since actual enum variables are lvalues. This will require a more nuanced approach, but I think the basic idea is right. 4 4 5 5 Example that causes an error: