Bug 14609 – [REG2.068a] Github HEAD: DMD assertion failure for valid code

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-05-20T01:30:00Z
Last change time
2015-06-17T21:05:20Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
puneet

Comments

Comment #0 by puneet — 2015-05-20T01:30:50Z
Reduced code. Compiles with latest dmd release. Assertion failure with Github HEAD. $ dmd -c test.d dmd: attrib.c:1190: virtual Dsymbols* StaticIfDeclaration::include(Scope*, ScopeDsymbol*): Assertion `scope' failed. Aborted // test.d interface Foo(T) { static if(is(T == int)) public int bar(); } class Frop: Foo!int { public int bar() { return 0; } }
Comment #1 by k.hara.pg — 2015-05-20T15:05:29Z
Comment #2 by github-bugzilla — 2015-05-20T16:46:17Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6e0a27b19219d1c2cd02fb3319d3e3a9bfabfcd7 fix Issue 14609 - Github HEAD: DMD assertion failure for valid code https://github.com/D-Programming-Language/dmd/commit/ba848af87cbba093ba9947e27090b9ef220f0334 Merge pull request #4672 from 9rnsr/fix14609 [REG2.068a] Issue 14609 - Github HEAD: DMD assertion failure for valid code
Comment #3 by github-bugzilla — 2015-06-17T21:05:20Z