dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
117 stars 47 forks source link

Dependencies not interacting with ldc #740

Closed jmh530 closed 4 years ago

jmh530 commented 4 years ago

I tried running the code below with run.dlang.org, but switched the compiler to ldc and got the error that "The determined compiler type "ldc" doesn't match the expected type "dmd". This will probably result in build errors." This does not appear when not using any dependencies. I tested this with a few other dependencies and got thing.

Another interesting thing is that when this error is showing up, the IR and asm options no longer seem to work. With the dependency and with LDC, they do not work. Without the dependency and with LDC, they no longer work.

/+dub.sdl:
dependency "mir-algorithm" version="~>3.6.9"
+/

void main() {

}
jmh530 commented 4 years ago

No longer an issue with latest mir-algorithm.