Thread overview
[Issue 17489] ICE in ddmd/argtypes.d
June 11, 2017
https://issues.dlang.org/show_bug.cgi?id=17489

--- Comment #1 from greensunny12@gmail.com ---
It seems that argtypemerge has troubles when confronted with an error:

/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1046,60):
Error: parameter index must be in range 0..3 not 3LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1047,25):
Error: template instance std.traits.ParameterStorageClassTuple!(void
function(FreeListRef!(shared(int), true), int delegate(int, int) pure nothrow
@nogc @safe, int, int) nothrow @nogc @system).StorageClass!3LU error
instantiating
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1047,25):
       instantiated from here: StorageClass!2LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1047,25):
       instantiated from here: StorageClass!1LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1052,44):
       instantiated from here: StorageClass!0LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/typecons.d(4273,22):
       ... (4 instantiations, -v to show) ...
source/vibe/core/concurrency.d(1146,34):        instantiated from here:
toDelegate!(void function(FreeListRef!(shared(int), true), int delegate(int,
int) pure nothrow @nogc @safe, int, int) nothrow @nogc @system)
source/vibe/core/concurrency.d(1187,15):        instantiated from here:
async!(int delegate(int, int) pure nothrow @nogc @safe, int, int)
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/functional.d(1224,13):
Error: CTFE failed because of previous errors in generateFunction
argtypemerge(, _error_, 0)
argtypemerge(_error_, void*, 0)
core.exception.AssertError@ddmd/argtypes.d(201): Assertion failure

--
June 11, 2017
https://issues.dlang.org/show_bug.cgi?id=17489

--- Comment #2 from greensunny12@gmail.com ---
It seems that argtypemerge has troubles when confronted with an error:

/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1046,60):
Error: parameter index must be in range 0..3 not 3LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1047,25):
Error: template instance std.traits.ParameterStorageClassTuple!(void
function(FreeListRef!(shared(int), true), int delegate(int, int) pure nothrow
@nogc @safe, int, int) nothrow @nogc @system).StorageClass!3LU error
instantiating
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1047,25):
       instantiated from here: StorageClass!2LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1047,25):
       instantiated from here: StorageClass!1LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/traits.d(1052,44):
       instantiated from here: StorageClass!0LU
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/typecons.d(4273,22):
       ... (4 instantiations, -v to show) ...
source/vibe/core/concurrency.d(1146,34):        instantiated from here:
toDelegate!(void function(FreeListRef!(shared(int), true), int delegate(int,
int) pure nothrow @nogc @safe, int, int) nothrow @nogc @system)
source/vibe/core/concurrency.d(1187,15):        instantiated from here:
async!(int delegate(int, int) pure nothrow @nogc @safe, int, int)
/home/seb/dlang/dmd/generated/linux/debug/64/../../../../../phobos/std/functional.d(1224,13):
Error: CTFE failed because of previous errors in generateFunction
argtypemerge(, _error_, 0)
argtypemerge(_error_, void*, 0)
core.exception.AssertError@ddmd/argtypes.d(201): Assertion failure

--
June 11, 2017
https://issues.dlang.org/show_bug.cgi?id=17489

greensunny12@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from greensunny12@gmail.com ---
pull https://github.com/dlang/dmd/pull/6894

--
June 26, 2017
https://issues.dlang.org/show_bug.cgi?id=17489

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/52d9d36adb77f8a239f0dde1615ee05ef88e7f71 fix Issue 17489 - ICE in ddmd/argtypes.d

https://github.com/dlang/dmd/commit/ef4cda8c1a8f821a5da76a7d1029e8f83d9576e8 Merge pull request #6914 from WalterBright/fix17489-2

fix Issue 17489 - ICE in ddmd/argtypes.d merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>

--
August 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17489

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/52d9d36adb77f8a239f0dde1615ee05ef88e7f71 fix Issue 17489 - ICE in ddmd/argtypes.d

https://github.com/dlang/dmd/commit/ef4cda8c1a8f821a5da76a7d1029e8f83d9576e8 Merge pull request #6914 from WalterBright/fix17489-2

--
August 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17489

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/52d9d36adb77f8a239f0dde1615ee05ef88e7f71 fix Issue 17489 - ICE in ddmd/argtypes.d

https://github.com/dlang/dmd/commit/ef4cda8c1a8f821a5da76a7d1029e8f83d9576e8 Merge pull request #6914 from WalterBright/fix17489-2

--