range shortened method not enabled, compile with compiler switch `-preview=shortenedMethods`

Steven Schveighoffer schveiguy at gmail.com
Sun Sep 24 12:59:57 UTC 2023


On Sunday, 24 September 2023 at 10:00:31 UTC, Joe wrote:
> For absolutely no reason I started getting this error.
>
> Last night I compiled the project and it worked just fine. This 
> morning I made a single insignificant change and tried to 
> compile and got that error. Only possible thing is that for 
> some reason some change in updating the compiler may have no 
> propagated correctly till after the reboot.
>
> [...]

This sounds like a compiler issue. Are you on the latest 
compiler? Which compiler? Is there a set of code you can post or 
upload which causes the problem?

-Steve


More information about the Digitalmars-d-learn mailing list