https://issues.dlang.org/show_bug.cgi?id=13670
Jonathan M Davis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan M Davis <[email protected]> --- (In reply to Ketmar Dark from comment #2) > so i don't have to > track if my variable is dynamic or static array manually. In general, I'd be very worried about code that didn't care about whether it was dealing with a dynamic array or a static array, because they're fundamentally different types. It just seems like it's begging for trouble. The only case where that might make sense is where you have a dynamic array which is a slice of a static one, but then you're dealing with a dynamic one, not a static one, so you're still just dealing with dynamic arrays rather than having to worry about whether an array is dynamic or static. --
