[Issue 15811] -transition=import and -transition=checkimport have oddly behaviors
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 19 00:20:16 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15811
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
Note: I've used following test case.
void foo(string text)
{
import std.conv;
auto s = text;
assert(s == "a");
}
void main()
{
foo("a");
}
If assert succeeds, new lookup rule is used. Otherwise old lookup rule is used.
--
More information about the Digitalmars-d-bugs
mailing list