On Wednesday, 6 December 2017 at 16:32:05 UTC, A Guy With a Question wrote:
I have to be honest, I'm a little worried about all of this code I just translated and how much of it is actually valid...I hope I didn't waste my time.

Ok, so I verified this much. I would expect an error from the following, but it does not actually produce an error...

module grrr.grr;

abstract class Test(T)
{
private:
    T thing;

public:
    this(T theThing)
    {
        thing = theThing;
        thisdoesnotexist(); // expect compiler error right here!!!!
    }
}

...but this compiles just fine.
  • Does dmd not always compile ... A Guy With a Question via Digitalmars-d-learn
    • Re: Does dmd not always... Atila Neves via Digitalmars-d-learn
      • Re: Does dmd not al... A Guy With a Question via Digitalmars-d-learn
        • Re: Does dmd no... A Guy With a Question via Digitalmars-d-learn
          • Re: Does dm... A Guy With a Question via Digitalmars-d-learn
            • Re: Do... A Guy With a Question via Digitalmars-d-learn
              • Re... A Guy With a Question via Digitalmars-d-learn
                • ... Nick Treleaven via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
                • ... A Guy With a Question via Digitalmars-d-learn
                • ... A Guy With a Question via Digitalmars-d-learn
                • ... Atila Neves via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
                • ... user1234 via Digitalmars-d-learn

Reply via email to