On Friday, 5 August 2022 at 01:25:50 UTC, Ruby The Roobster wrote:
On Friday, 5 August 2022 at 01:23:40 UTC, Ruby The Roobster wrote:
[SNIP]
Any function other than an operator overload seems to work fine.

Also, this isn't mentioned in the spec.

Additional Information:

Fails for both DMD and LDC on Windows x86_64 for dmd v2.100.1

unittest blocks are just anonymous functions. They're not a special environment and there's nothing you can do here that wouldn't be necessary in any other user of your code. You have some other problem (which could very well be a compiler bug.)
  • Unittest Absurdity Ruby The Roobster via Digitalmars-d-learn
    • Re: Unittest Absurdity Ruby The Roobster via Digitalmars-d-learn
      • Re: Unittest Absurdi... jfondren via Digitalmars-d-learn
        • Re: Unittest Abs... jfondren via Digitalmars-d-learn
          • Re: Unittest... Ruby The Roobster via Digitalmars-d-learn
            • Re: Uni... Ruby The Roobster via Digitalmars-d-learn
              • Re:... Ruby The Roobster via Digitalmars-d-learn
                • ... jfondren via Digitalmars-d-learn
            • Re: Uni... Paul Backus via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
                • ... jfondren via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn

Reply via email to