>>> usd
error: identifier clash in definition
┌─ Module 'units::time', File <builtin>/modules/units/time.nbt:32:6
│
32 │ unit year: Time = 365.242_188_1 days
│ ---- Previously defined here
│
┌─ Module 'units::currencies', File <builtin>/modules/units/currencies.nbt:104:6
│
104 │ unit malaysian_ringgit: Money = EUR / exchange_rate("MYR")
│ ^^^^^^^^^^^^^^^^^ identifier is already in use
the conflict is between myr as malaysian_ringgit and myr as milliyear, but the error points to the primary identifiers malaysian_ringgit and year instead of the relevant aliases, and it also doesn't mention anything about the unit prefix
i'm implementing https://github.com/sharkdp/numbat/issues/441, and there's a confusing error due to a conflict happening here:
and the error:
the conflict is between
myr
asmalaysian_ringgit
andmyr
asmilliyear
, but the error points to the primary identifiersmalaysian_ringgit
andyear
instead of the relevant aliases, and it also doesn't mention anything about the unit prefixcan this error be made clearer?