← Back to index
|
Original Bugzilla link
Bug 15788 – [REG2.069] ICE assert triggered on overloaded function
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-03-11T18:33:00Z
Last change time
2016-04-05T20:05:38Z
Keywords
ice, pull
Assigned to
nobody
Creator
jbc.engelen
Comments
Comment #0
by jbc.engelen — 2016-03-11T18:33:23Z
``` import std.range : iota; void iota() {} struct S {} void foo() { S s; iota(s, s); } ``` DMD v2.070-devel-204253b crashes with:
[email protected]
(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
Comment #1
by k.hara.pg — 2016-03-12T12:31:41Z
https://github.com/D-Programming-Language/dmd/pull/5519
Comment #2
by github-bugzilla — 2016-03-15T07:10:57Z
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
Comment #3
by github-bugzilla — 2016-03-19T19:27:14Z
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
Comment #4
by ag0aep6g — 2016-04-05T20:05:38Z
*** Issue 15879 has been marked as a duplicate of this issue. ***