Bug 23280 – Error: Incompatible types for array comparison: string and string

Status
NEW
Severity
enhancement
Priority
P4
Component
visuald
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2022-08-01T23:27:44Z
Last change time
2023-10-18T20:22:30Z
Assigned to
No Owner
Creator
Marcelo Silva Nascimento Mancini
Moved to GitHub: visuald#257 →

Comments

Comment #0 by msnmancini — 2022-08-01T23:27:44Z
```d string path; if(path != "") { } ``` Triggers this error of visuald
Comment #1 by r.sagitario — 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?
Comment #2 by msnmancini — 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
Comment #3 by robert.schadek — 2023-10-18T20:22:30Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/257 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB