This used to work, now it won't compile: ```d import std; struct A { this(ref A rhs) { } } class Range { A front() { return A.init; } void popFront() { } bool empty = true; } void main() { auto a = new Range(); a.array(); } ```
Activity
ibuclaw commentedon Apr 10, 2025
Regressing commit #8789
[-]dmd 2.101 regression with std.array.array[/-][+]dmd 2.111 regression with std.array.array[/+]hasToString!(...)of typevoiddoes not have a boolean value" #10764toString()-related regression (related to Nullable and/or Appender) #10715ibuclaw commentedon Apr 28, 2025
@0xEAB @kinke - I think the safest thing to do would be to revert the feature, then revisit in 2.112 once found compiler bugs have been resolved?
kinke commentedon Apr 28, 2025
Yeah I think a revert would be good, seeing that it causes multiple problems. But I'm not optimistic that the compiler bugs are fixed soon.
Add test for dlang#10747
Add unittest for dlang#10747
Add unittest for #10747
ibuclaw commentedon Apr 28, 2025
Revert to stable done.
trikko commentedon Apr 30, 2025
Thanks Iain