Any suggestions on dmd error message formatting?
SealabJaster
sealabjaster at gmail.com
Sat May 15 06:12:25 UTC 2021
On Saturday, 15 May 2021 at 04:54:15 UTC, Chris Piker wrote:
> Hi D
T_T My eyes burn.
Anyway, Here it is formatted slightly better:
```d
PriorityRange.this(
DasRange!(
Tuple!(int, int)[],
int function(Tuple!(int, int)) pure nothrow @nogc @safe,
int function(Tuple!(int, int)) pure nothrow @nogc @safe,
Tuple!(int, int),
int
) range,
int function(Tuple!(int, int)) priority
) is not callable using argument types (
DasRange!(
Tuple!(int, int)[],
int function(Tuple!(int, int)) pure nothrow @nogc @safe,
int function(Tuple!(int, int)) pure nothrow @nogc @safe,
Tuple!(int, int),
int
),
int function() pure nothrow @nogc @safe
)
```
Seems the final `int function` parameter needs to accept a
`Tuple!(int, int)`
More information about the Digitalmars-d-learn
mailing list