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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 6 18:33:34 UTC 2018


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

--- Comment #11 from anonymous4 <dfj1esp02 at sneakemail.com> ---
I think it's better to replace import expression with intrinsic, say,
importText (like std.file.readText). This will also reduce grammar complexity
and remove second and rarely used meaning from the import keyword. Due to how
rarely import expression is used it confuses newcomers that are used only to
it's usage as module import statement.

--


More information about the Digitalmars-d-bugs mailing list