Hello X# Team,
After switching temporarily from X# 2.14 to 2.18 I'll got a lot of XS9114 compiler errors because our code uses : instead of . to access static members at many occasions.
Is there a compiler switch to avoid this error? If not, I would like to suggest adding one for the next releases. This would be very helpful.
Kind regards,
Peter
Compiler error XS9114
Re: Compiler error XS9114
Peter.
Yes, there is a compiler switch /allowdot (it is also on the options dialog in VS).
See https://www.xsharp.eu/help/opt-allowdot.html
Robert
Yes, there is a compiler switch /allowdot (it is also on the options dialog in VS).
See https://www.xsharp.eu/help/opt-allowdot.html
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Re: Compiler error XS9114
Hello Robert,
What I was looking for was the opposite. A switch that allows the use of the : colon for static methods.
I am talking about compiler error XS9114: Can't access the static member ... with the COLON operator. This must be new.
Having a switch that would allow using the colon with X# 2.18 would be, as I said, very helpful.
I would open an issue but I am not sure if it will be taken seriously this time.
Kind regards,
Peter
What I was looking for was the opposite. A switch that allows the use of the : colon for static methods.
I am talking about compiler error XS9114: Can't access the static member ... with the COLON operator. This must be new.
Having a switch that would allow using the colon with X# 2.18 would be, as I said, very helpful.
I would open an issue but I am not sure if it will be taken seriously this time.
Kind regards,
Peter
Re: Compiler error XS9114
Peter,
Robert
What makes you say that?
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu