dub
dub copied to clipboard
Hard to understand error when compiler is not last element of specification
System information
- dub version: 1.36.0-1+b3
- OS Platform and distribution: Linux
- compiler version ldc 1.36.0
Bug Description
A user on Discord encountered this issue.
They had a hard time understanding this error message.
https://github.com/dlang/dub/blob/0699f67a107996d8d520756041415d8b3fc58051/source/dub/platform.d#L232
It would be good to expand upon on it and perhaps give an example in it.
How to reproduce?
Use specification ldc-linux.
Expected Behavior
A better error message.