``` import std.range : iota; void iota() {} struct S {} void foo() { S s; iota(s, s); } ``` DMD v2.070-devel-204253b crashes with: core.exception.AssertError@func.d(4137): Assertion failure DMD64 D Compiler v2.070-devel-204253b OS X El Capitan DMD v2.069.2 crashes. DMD v2.068.2 does not crash, and errors with: Error: overload alias 'iota' is not a variable [*] The assert happens here: https://github.com/D-Programming-Language/dmd/blob/204253b3111166cd30d5e42d936ed5f138920ff8/src/func.d#L4137
https://github.com/D-Programming-Language/dmd/pull/5519
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a2133164b7eecc296374f3bc3ae28b773b009dae fix Issue 15788 - ICE assert triggered on overloaded function https://github.com/D-Programming-Language/dmd/commit/bd4924b32a28c52d6b3da791977fdc49361261d5 Merge pull request #5519 from 9rnsr/fix15788 [REG2.069] Issue 15788 - ICE assert triggered on overloaded function
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a2133164b7eecc296374f3bc3ae28b773b009dae fix Issue 15788 - ICE assert triggered on overloaded function https://github.com/D-Programming-Language/dmd/commit/bd4924b32a28c52d6b3da791977fdc49361261d5 Merge pull request #5519 from 9rnsr/fix15788
*** Issue 15879 has been marked as a duplicate of this issue. ***