Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 07, 2014 [Issue 12534] New: ICE on using expression tuple as type tuple | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=12534 Summary: ICE on using expression tuple as type tuple Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2014-04-06 19:59:28 PDT --- Test case: alias TypeTuple(T...) = T; void main() { int x, y; alias exprs = TypeTuple!(x, y); static assert(is(exprs[0..0])); // ICE! } ---- Output: assert hdrgen.c(770) 0 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 07, 2014 [Issue 12534] ICE on using expression tuple as type tuple | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | https://d.puremagic.com/issues/show_bug.cgi?id=12534 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2014-04-06 21:02:31 PDT --- https://github.com/D-Programming-Language/dmd/pull/3429 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 07, 2014 [Issue 12534] ICE on using expression tuple as type tuple | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | https://d.puremagic.com/issues/show_bug.cgi?id=12534 --- Comment #2 from github-bugzilla@puremagic.com 2014-04-07 12:50:29 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/478b03d5d6fd7c3f88447bccb91beeaad4523d4f fix Issue 12534 - ICE on using expression tuple as type tuple TypeSlice::next should be handled as same as TypeSArray and TypeDArray - if the next part is reduced to error type, it should not be returned to the original field. https://github.com/D-Programming-Language/dmd/commit/8fd2207dfc52586035c9b855577fde815b69a33c Merge pull request #3429 from 9rnsr/fix12534 Issue 12534 - ICE on using expression tuple as type tuple -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 07, 2014 [Issue 12534] ICE on using expression tuple as type tuple | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | https://d.puremagic.com/issues/show_bug.cgi?id=12534 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation