Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 30, 2019 [Issue 9490] 'this' is not found when array expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com -- |
April 30, 2019 [Issue 9490] 'this' is not found when array expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 --- Comment #2 from Basile-z <b2.temp@gmx.com> --- Funnily this works: --- class C { int[] arr; this() { auto a = ((arr)).length; } } void main() { } --- The bug is not related to arrays or ctors. Same problem if you try to access the member of a member: class C { struct Foo { int a; } Foo foo; void test() { // Error: need 'this' to access member a auto a = (foo).a; } } void main() { } -- |
July 23, 2019 [Issue 9490] 'this' is not found when array expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 --- Comment #3 from Basile-z <b2.temp@gmx.com> --- 3rd test case from 9185: --- struct S { int i; } struct S1 { S s; } void f(int) { } void main() { S1 s1; f(s1.s.tupleof); // OK f((s1.s).tupleof); // Error: need 'this' to access member s } --- -- |
July 23, 2019 [Issue 9490] 'this' is not found when expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|'this' is not found when |'this' is not found when |array expression is in |expression is in |parentheses |parentheses -- |
July 23, 2019 [Issue 9490] 'this' is not found when expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |verylonglogin.reg@gmail.com --- Comment #4 from Basile-z <b2.temp@gmx.com> --- *** Issue 9815 has been marked as a duplicate of this issue. *** -- |
November 19, 2019 [Issue 9490] 'this' is not found when expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> --- @StianGulpen created dlang/dmd pull request #10592 "fix issue 9490 - 'this' is not found when expression is in parentheses" fixing this issue: - fix issue 9490 - 'this' is not found when expression is in parentheses https://github.com/dlang/dmd/pull/10592 -- |
November 19, 2019 [Issue 9490] 'this' is not found when expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #10592 "fix issue 9490 - 'this' is not found when expression is in parentheses" was merged into master: - c5e0bdd66f9833dc85715ffb20396ada69afbf5c by Stian Gulpen: fix issue 9490 - 'this' is not found when expression is in parentheses https://github.com/dlang/dmd/pull/10592 -- |
March 21, 2020 [Issue 9490] 'this' is not found when expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
July 21, 2020 [Issue 9490] 'this' is not found when expression is in parentheses | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9490 --- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11439 "[dmd-cxx] fix issue 9490 - 'this' is not found when expression is in parentheses" was merged into dmd-cxx: - 3d5716d46a30122809ae7c2b58f07f6b262afcba by Stian Gulpen: fix issue 9490 - 'this' is not found when expression is in parentheses https://github.com/dlang/dmd/pull/11439 -- |
Copyright © 1999-2021 by the D Language Foundation