← Back to index
|
Original Bugzilla link
Bug 15034 – ICE(glue.c line 1026) Assertion failure: '!fd->vthis->csym'
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-09-09T17:15:00Z
Last change time
2015-09-10T05:16:28Z
Assigned to
nobody
Creator
enjouzensyou.boinc
Comments
Comment #0
by enjouzensyou.boinc — 2015-09-09T17:15:22Z
The following code causes an ICE in DMD 2.068.1. ----------- // a.d module a; /* std.algorithm: fail std.array: fail std.bigint: fail std.datetime: fail std.json: fail std.meta: OK std.string: fail std.traits: OK */ import std.algorithm; ----------- // b.d module b; void pass(alias fn)(int a) { import std.algorithm; fn(forward!a); } unittest { pass!((a){})(1); } ----------- build-cmd: dmd -unittest -main a b dmd-output: Assertion failure: '!fd->vthis->csym' on line 1026 in file 'glue.c'
Comment #1
by k.hara.pg — 2015-09-10T05:16:28Z
*** This issue has been marked as a duplicate of issue 15030 ***