dmd icon indicating copy to clipboard operation
dmd copied to clipboard

Fix 23785: ICE with `-preview=in` when passing `enum` at CTFE

Open Geod24 opened this issue 2 years ago • 6 comments

Geod24 avatar Mar 16 '23 21:03 Geod24

Thanks for your pull request, @Geod24!

Bugzilla references

Auto-close Bugzilla Severity Description
23785 regression [REG ] `-preview=in` crash when passing `enum` value at CTFE

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + dmd#14999"

dlang-bot avatar Mar 16 '23 21:03 dlang-bot

@kinke and I discussed and there's a need for some more tests/work, as e.g. temporaries are now always destroyed even if not constructed.

Geod24 avatar Mar 17 '23 15:03 Geod24

Is this still an improvement on its own @Geod24 ?

dkorpel avatar May 02 '23 12:05 dkorpel

@Geod24 What's the status of this PR?

RazvanN7 avatar May 17 '23 11:05 RazvanN7

It needs work, as per the label.

kinke avatar May 17 '23 14:05 kinke