dub icon indicating copy to clipboard operation
dub copied to clipboard

Hard to understand error when compiler is not last element of specification

Open rikkimax opened this issue 1 year ago • 0 comments

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.

Logs

image

rikkimax avatar Apr 15 '24 20:04 rikkimax