Comments (4)
Hi,
Thanks for the feedback!
Looking at the documentation for Expression.Increment()
(and the documentation for Decrement()
is basically the same), and given that Expression
has separate PreIncrement()
/ PostIncrement()
/ PreDecrement()
/ PostDecrement()
factory methods which represent (and translate to) the pre and post ++
/ --
operators, maybe Increment()
and Decrement()
should be translated to x + 1
/ x - 1
?
In fact the code sample includes a comment stating "The value of the variable did not change, because the expression is functional", which pretty much makes it explicit.
What d'you think?
Cheers,
Steve
from readableexpressions.
This is fixed in the v3.0 branch, which will be releasing in the next week or so.
Thanks again!
from readableexpressions.
This fix is part of the v3.0-preview1 package, which is now on NuGet.
Thanks!
from readableexpressions.
This is part of the full v3 release, which is now available on NuGet. Cheers!
from readableexpressions.
Related Issues (20)
- MSI not property signed warnings HOT 3
- Guid constant HOT 5
- String.Concat missing parentheses HOT 2
- Bug - crashes immediately after opening viewer. HOT 1
- Dictionary get missing parentheses HOT 2
- Missing ToString with Concat HOT 2
- Visualizer window doesn't open in latest Visual Studio (BinaryFormatter not supported) HOT 7
- (int m, int n) => (m * n) + 2 HOT 1
- Can't install last few versions with VS 2022 HOT 9
- System.ArgumentException : Argument types do not match HOT 9
- System.ArgumentException : Argument types do not match if right part is LINQ HOT 2
- ArgumentException with nullable Enum HOT 5
- Tuple is displayed as () HOT 3
- System.InvalidOperationException: The binary operator LessThan is not defined for enum HOT 2
- Extension: "An unhandled exception of type 'System.ArgumentException' was thrown by the custom visualizer component in the process being debugged" when clicking "View" on a Func (not Expression) HOT 1
- Extension suggestion: add Close button to make UI more consistent with QuickWatch HOT 1
- Repect DPI settings
- "Could not load this custom viewer" in Visual Studio 2022 HOT 1
- Regression introduced in v4.1.1 with InvalidCastException HOT 1
- Failed to uninstall: Microsoft.VisualStudio.ExtensionManager.InstallByMsiException HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readableexpressions.