https://issues.dlang.org/show_bug.cgi?id=14077
--- Comment #3 from monkeywork...@hotmail.com --- (In reply to bearophile_hugs from comment #2) > (In reply to monkeyworks12 from comment #1) > > (In reply to Kenji Hara from comment #0) > > > Possible case: > > > > > > int[$] returnSArr() > > > { > > > return [1, 2]; > > > } > > > > Also consider the following: > > > > auto[$] returnSArr() > > { > > return [1, 2]; > > } > > > > const[$] returnSArr() > > { > > return [1, 2]; > > } > > > > //Etc. > > > > > > int[auto] returnAA() > > { > > return ["asdf":1]; > > } > > > > auto[auto] returnAA() > > { > > return ["asdf":1]; > > } > > > > immutable[auto[$]] returnAA() > > { > > return [[1, 2]:1]; > > } > > What are the use cases for all this? Implementation efforts have a cost in > time. I just put them here for completeness in case any were overlooked. I'm not specifically requesting that they are implemented as well. --