[Issue 19196] DMD thinks storage size for pointer or dynamic array isn't always known
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 6 13:10:17 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19196
--- Comment #4 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/379446e0f059d25e8da909bf5373f861af5069c5
Improve diagnostic with forward references and tupleof
When using tupleof in a template forward reference context, dmd
emitted an error message complaining that it could not calculate the
size of the struct. This happened even in cases when the size was not
obviously required.
To make things less confusing and workarounds more obvious, the error
message now explicitly says that tupleof is the problem.
Relates to (but doesn't fix) issue 19196.
--
More information about the Digitalmars-d-bugs
mailing list