[Issue 1985] import expression should return ubyte[] not string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 3 10:50:58 UTC 2021


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

Mike Parker <aldacron at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldacron at gmail.com

--- Comment #14 from Mike Parker <aldacron at gmail.com> ---
This gets at the bytes, does it not?

enum bytes = import("foo.png").representation;

I don't think we should change the behavior of the import expression at this
point when the above achieves the same result.

--


More information about the Digitalmars-d-bugs mailing list