Bug 15172 – ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors' failed.

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-07T10:42:00Z
Last change time
2017-08-02T08:07:25Z
Keywords
CTFE, ice, pull
Assigned to
nobody
Creator
ibuclaw

Comments

Comment #0 by ibuclaw — 2015-10-07T10:42:22Z
Reduced test: --- class ThreadError : Error { this(string) { } } void onThreadError() { __gshared auto ThreadError = new ThreadError(null); } Compiler output: --- Error: constructor bug.ThreadError.this no match for implicit super() call in constructor dmd: interpret.c:702: void ctfeCompile(FuncDeclaration*): Assertion `!fd->semantic3Errors' failed. Aborted Version: --- DMD64 D Compiler v2.068.0 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright Documentation: http://dlang.org/
Comment #1 by k.hara.pg — 2015-10-07T16:14:33Z
Comment #2 by github-bugzilla — 2015-11-30T20:59:41Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0ff99ff004c49a370f2a014dbcd1cec0cf053f63 fix Issue 15172 - ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors' failed. https://github.com/D-Programming-Language/dmd/commit/d2880137c7a25e6cd167a713cdcec71b7910cb6f Merge pull request #5168 from 9rnsr/fix15172 Issue 15172 - ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors' failed.
Comment #3 by github-bugzilla — 2016-01-03T14:02:36Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0ff99ff004c49a370f2a014dbcd1cec0cf053f63 fix Issue 15172 - ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors' failed. https://github.com/D-Programming-Language/dmd/commit/d2880137c7a25e6cd167a713cdcec71b7910cb6f Merge pull request #5168 from 9rnsr/fix15172
Comment #4 by github-bugzilla — 2017-08-02T08:07:25Z
Commit pushed to dmd-cxx at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/dca9baa97dd4f79d4b3a830b8204c9ddd081d832 Issue 15172 - ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors' failed.