← Back to index
|
Original Bugzilla link
Bug 15744 – [REG2.067] (SIGABRT) Error: overloadset t.Bar.__ctor is aliased to a function
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-03-02T15:12:00Z
Last change time
2016-03-14T14:43:27Z
Keywords
ice, pull
Assigned to
nobody
Creator
kozzi11
Blocks
15784
Comments
Comment #0
by kozzi11 — 2016-03-02T15:12:42Z
template AddField(T) { T b; this(Args...)(T b, auto ref Args args) { this.b = b; this(args); } } template construcotrs() { int a; this(int a) { this.a = a; } } struct Bar { mixin construcotrs; mixin AddField!(string); } unittest { auto bar1 = Bar(5); auto bar2 = Bar("bar", 15); // line 31 }
Comment #1
by kozzi11 — 2016-03-02T15:13:48Z
In 2.066.1 it does not crash, but in 2.067.0 it crasch too
Comment #2
by temtaime — 2016-03-10T14:33:23Z
I'm sorry bugzilla redirects in a strange way Restored status to regression
Comment #3
by k.hara.pg — 2016-03-10T14:35:15Z
Introduced in:
https://github.com/D-Programming-Language/dmd/pull/4309
Comment #4
by k.hara.pg — 2016-03-10T14:52:27Z
I think the test case should be accepted properly. For the rejects-valid bug, I opened issue 15784.
Comment #5
by k.hara.pg — 2016-03-10T15:16:50Z
https://github.com/D-Programming-Language/dmd/pull/5515
Comment #6
by github-bugzilla — 2016-03-11T21:06:09Z
Commits pushed to stable at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/1b4eefa55a3933ee214576612d1cbc81b5426d04
fix Issue 15744 - (SIGABRT) Error: overloadset t.Bar.__ctor is aliased to a function
https://github.com/D-Programming-Language/dmd/commit/7e1a1a87fc0c31ddb8466242d363bfebd10dfbbb
Merge pull request #5515 from 9rnsr/fix15744 [REG2.067] Issue 15744 - (SIGABRT) Error: overloadset t.Bar.__ctor is aliased to a function
Comment #7
by github-bugzilla — 2016-03-14T14:43:27Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/1b4eefa55a3933ee214576612d1cbc81b5426d04
fix Issue 15744 - (SIGABRT) Error: overloadset t.Bar.__ctor is aliased to a function
https://github.com/D-Programming-Language/dmd/commit/7e1a1a87fc0c31ddb8466242d363bfebd10dfbbb
Merge pull request #5515 from 9rnsr/fix15744