[Issue 20923] Redefinition of 'size_t' is affecting TypeStruct functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 12 03:58:11 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20923

Boris Carvajal <boris2.9 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris2.9 at gmail.com
            Summary|Playing with types leads to |Redefinition of 'size_t' is
                   |not detailed error message  |affecting TypeStruct
                   |                            |functions

--- Comment #1 from Boris Carvajal <boris2.9 at gmail.com> ---
The redefinition of size_t is affecting builtin TypeStruct functions (these
don't have location info), this is clearly a bug.
The code should work and you can change size_t but if you are intended to do it
for this kind of methods you should be modifying object.d.

--


More information about the Digitalmars-d-bugs mailing list