Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type solving not complete in mutually dependent modules #596

Open
ghost opened this issue Apr 18, 2019 · 0 comments
Open

Type solving not complete in mutually dependent modules #596

ghost opened this issue Apr 18, 2019 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 18, 2019

a.d

module a;

import b;

class Node
{
    Data d;
}

b.d

module b;

import a;

class Data
{
    Node n;
}

c.d

module c; import a, b; void main() { Node n; n.d.n. }
dcd-server -I./ &
dcd-client -c51 c.d

outputs nothing. should output class props and d.
D semantic is multi pass so this works as code but to get the completion I'd have to use an interface, like for language that don't do multi pass.

Top priority issue imho.
Note that this report is related: https://github.com/dlang-community/dsymbol/issues/57.

@ghost ghost pinned this issue Jun 13, 2019
@ghost ghost unpinned this issue Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants