[dmd-internals] Three patches for recent regressions

Don Clugston dclugston at googlemail.com
Fri Sep 3 13:40:36 PDT 2010


On 3 September 2010 22:16, Jason House <jason.james.house at gmail.com> wrote:
> On Sep 3, 2010, at 4:13 PM, Don Clugston <dclugston at googlemail.com> wrote:
>
>> On 3 September 2010 22:01, Jason House <jason.james.house at gmail.com> wrote:
>>> My mistake. That's some awful code. Do I understand it right that if the indirection through C2 is removed that this would become a compile error?
>>
>> Yes, it would be a compile error. And yes, it's foul. It was the most
>> horrible example I could come up with <g>.
>
> Tying into the other thread, will these become part of a test suite?

Yes. I usually do it this way. Look in the test suite for
ctorpowtests.d and the last thousand lines of interpret.d for some of
my past examples of test-driven development. But most bugs I fix are
just ICE or wrong-code bugs, which just need a single test case.


More information about the dmd-internals mailing list