Thread overview |
---|
July 04, 2020 [Issue 20761] __traits(isSame) for alias tuples is broken and underspecified | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20761 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com Assignee|nobody@puremagic.com |b2.temp@gmx.com Severity|normal |major --- Comment #1 from Basile-z <b2.temp@gmx.com> --- this is a cool bug. The fact that this 3rd case passes explains it all: static assert(__traits(isSame, AliasSeq!(1, 1), AliasSeq!(2, 2))); in traits semantic, the two args are actually a list that expands in place to (1,1,2,2) and finally what get compared is the two elements of what was the first trait argument ! awesome bug isn't it !! -- |
July 04, 2020 [Issue 20761] __traits(isSame) for alias tuples is broken and underspecified | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20761 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @NilsLankila created dlang/dmd pull request #11373 "fix issue 20761 - __traits(isSame) for alias tuples is broken and und…" fixing this issue: - fix issue 20761 - __traits(isSame) for alias tuples is broken and underspecified https://github.com/dlang/dmd/pull/11373 -- |
July 08, 2020 [Issue 20761] __traits(isSame) for alias tuples is broken and underspecified | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20761 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11373 "fix issue 20761 - __traits(isSame) for alias tuples is broken and und…" was merged into master: - c8b470c05b001853f83cbf1b5d9e0e66ef1b2ca4 by Nils Lankila: fix issue 20761 - __traits(isSame) for alias tuples is broken and underspecified https://github.com/dlang/dmd/pull/11373 -- |
July 09, 2020 [Issue 20761] __traits(isSame) for alias tuples is broken and underspecified | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20761 --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11392 "Add tests for issue 20761 - __traits(isSame) for alias tuples..." was merged into master: - 5f68732fe07f981f0359f665930dfb852367ac29 by MoonlightSentinel: Add tests for issue 20761 - __traits(isSame) for alias tuples... ... is brokenand underspecified https://github.com/dlang/dmd/pull/11392 -- |
Copyright © 1999-2021 by the D Language Foundation