Thread overview | |||||
---|---|---|---|---|---|
|
December 28, 2014 [Issue 13894] tupleof does not exclude hidden members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13894 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> --- > > The .tupleof property returns an ExpressionTuple of all the fields in the class, excluding the hidden fields and the fields in the base class. The spec is in the section "Class Properties", so in the strict sense, it would not affect the semantics of struct tupleof property. >From the view of implementation side, the inconsistency was introduced by fixing issue 1418. By the fix class tupleof was changed not listing hidden field but struct tupleof was not changed. >From the user side, S.tupleof[$-1] is sometimes used to actually handle the hidden context pointer. Therefore, modifying tupleof behavior may affect not small code. -- |
December 17, 2022 [Issue 13894] tupleof does not exclude hidden members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13894 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 13894] tupleof does not exclude hidden members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13894 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17692 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation