January 03, 2014 [Issue 11861] New: Unable to selectively import a nested symbol | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=11861 Summary: Unable to selectively import a nested symbol Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: sergei.nosov@gmail.com --- Comment #0 from Sergei <sergei.nosov@gmail.com> 2014-01-02 21:51:33 PST --- Consider, In a.d static struct A { alias string S; } In b.d import a : B = A.S; void main() {} Module b.d doesn't compile, issuing b.d(1): Error: ';' expected b.d(1): Error: no identifier for declarator S on the 1st line -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation