[Issue 19791] New: Bad cross-file detection
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 7 07:51:37 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19791
Issue ID: 19791
Summary: Bad cross-file detection
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
Severity: enhancement
Priority: P3
Component: visuald
Assignee: nobody at puremagic.com
Reporter: x13989 at 126.com
//A.d
module A;
public import std.stdio;
public int varible;
public static int staticvar;
//B.d
module B;
import A;
When I type in B.d, neither functions of stdio nor “varible” will appear in the
auto-complete list, but however “staticvar” appears in the auto-complete list
correctly. Also, if I open the colorize system, “varible” would not be
colorized but “staticvar” could be colorized correctly.
Please fix this and also add support for public imports.
--
More information about the Digitalmars-d-bugs
mailing list