Open D0ctorWh0 opened 3 years ago
I've reproduced the bug - including the variant where new P()::p;
on a line by itself produces uncompilable code - and I should point out that with
is not compatible with value types like Point
, as the temporary variable is not ref
. LeMP is not aware of the type system and cannot detect value types. (Potentially ref
could be added on the temporary variable to fix the problem, but in other cases this could cause a compiler error). There's a note of caution in the documentation but I could have made it clearer...
Hi!
I came across your project and it looks very interesting. I played a bit with it and get an error when trying to use 'with' and quick binding operator.
When I write this EC# code
it generates valid C# code
But when I try this EC# code
it generates invalid C# code
P.S. Why keeping braces from 'with' is C# code?
I tried to use only quick binding operator and it gives some error. Am I using it wrong?