Author
anonymous
about 5 years ago
Language
D
Compiler
dmd HEAD v2.087.0
Options
Author
anonymous
about 5 years ago
$ dmd prog.d -ofprog.exe
prog.d(28): Error: template `object.byKey` cannot deduce function from argument types `!(int[long])(long)`, candidates are:
/opt/wandbox/dmd-head/linux/bin64/../../src/druntime/import/object.d(2914): `object.byKey(T : V[K], K, V)(T aa)`
/opt/wandbox/dmd-head/linux/bin64/../../src/druntime/import/object.d(2937): `object.byKey(T : V[K], K, V)(T* aa)`
prog.d(50): Error: template instance `prog.HashSet!long.HashSet.RangeImpl!long` error instantiating
prog.d(64): instantiated from here: `opSlice!long`
Exit Code:
1