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

Error: Incompatible types for array comparison: string and string #257

Open
dlangBugzillaToGithub opened this issue Aug 1, 2022 · 2 comments

Comments

@dlangBugzillaToGithub
Copy link
Collaborator

msnmancini reported this on 2022-08-01T23:27:44Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=23280

CC List

  • r.sagitario

Description

string path;
if(path != "")
{
}

Triggers this error of visuald

@dlangBugzillaToGithub
Copy link
Collaborator Author

r.sagitario commented on 2022-08-06T11:53:01Z

I cannot reproduce here, but I had to guess the rest of your code (just wrapped it into a function). Can you provide a full example?

I suspect that there might some mix of compiler versions including the definition of string from different versions or installations. Do you have multiple projects loaded into the solution that use different configurations?

@dlangBugzillaToGithub
Copy link
Collaborator Author

msnmancini commented on 2022-08-07T01:33:59Z

Well, my solution has more than 15 projects, so I probably have one project pushing some info from LDC while other push from DMD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant