Nick Treleaven

Results 134 comments of Nick Treleaven

Just to mention this feature is also useful with Walter's sum type proposal: ```d sumtype S { int val; string name; } S s; ... s = .val(5); // infer...

@atilaneves The idea is to be able to do conversion as an expression, without a cast. Requiring a declaration breaks the flow of an expression, and pollutes the scope when...

@atilaneves AFAIK a type sequence is a type. So without an implementation of this, do you think it's better to have a special case in the type system, that only...

> Fix Bugzilla 24232 For some reason that didn't get picked up by dlang-bot. Edit: added a separate commit saying that, now it got picked up. Does it not find...

Perhaps add a `-preview` switch for this until it's stable enough? Then we can fix bugs separately as they come up.

@schveiguy > the `__arrayAlloc` function copies the original bits instead of using the typeinfo to decide the new array bits if a BlkInfo has already been looked up Sorry, I...

I think this is a duplicate of #19835. However, perhaps fixing this could break code relying on the current behaviour of using the first rewrite (i.e. left-hand expression's `opCmp`). In...

> if you start at the top and start typing a filename the selected item in the documents list should go to that file and the tab on enter, not...

I think every expression has to have a type. Assuming that's correct, if a template and/or a template instantiation no longer had a type, the grammar would have to be...

If you rename the title to 'Fix Issue'... then the bot should automatically link this pull to bugzilla.