44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
![]() |
=== Related: RSPEC-2209
|
||
|
|
||
|
=== On 2015-07-08T17:54:05Z Ann Campbell Wrote:
|
||
|
\[~nicolas.peru] I'm thinking this is applicable to Java, right?
|
||
|
|
||
|
=== On 2015-07-20T11:34:14Z Tamas Vajk Wrote:
|
||
|
\[~ann.campbell.2] I've modified the description and the sample a bit.
|
||
|
|
||
|
=== On 2015-07-20T14:11:36Z Ann Campbell Wrote:
|
||
|
\[~tamas.vajk] would it also be acceptable to do this?
|
||
|
|
||
|
----
|
||
|
{
|
||
|
Count++;
|
||
|
}
|
||
|
----
|
||
|
|
||
|
i.e. should we add a version of that as an alternate compliant solution?
|
||
|
|
||
|
=== On 2015-07-21T19:15:01Z Evgeny Mandrikov Wrote:
|
||
|
\[~ann.campbell.2] [~tamas.vajk] why this is not subtask of RSPEC-2209? which one should be implemented in C-Family?
|
||
|
|
||
|
=== On 2015-07-22T06:25:20Z Tamas Vajk Wrote:
|
||
|
\[~ann.campbell.2] yes, you could use ``Count{plus}{plus}``, but we shouldn't promote that. And as [~evgeny.mandrikov] pointed out there is a separate rule for that. Note that in C# you couldn't write ``++this.Count++``, or ``++myInstance.Count++``.
|
||
|
|
||
|
=== On 2015-07-22T06:27:45Z Tamas Vajk Wrote:
|
||
|
\[~evgeny.mandrikov] I don't think that we should merge the two RSPECs. RSPEC-2209 says "static" members should be accessed statically. And here we are doing exactly that, but through a derived class.
|
||
|
|
||
|
=== On 2015-07-22T07:02:31Z Evgeny Mandrikov Wrote:
|
||
|
\[~tamas.vajk] then why RSPEC-2209 marked as "replaced by" this one?
|
||
|
|
||
|
=== On 2015-07-22T07:14:55Z Nicolas Peru Wrote:
|
||
|
\[~ann.campbell.2] Looks good for java. I let you sort out in which subtask or rspec this should go but principle is ok for me.
|
||
|
|
||
|
=== On 2015-07-22T07:42:12Z Tamas Vajk Wrote:
|
||
|
\[~evgeny.mandrikov] Good question. I haven't seen that link. We should probably ask [~freddy.mallet] who linked the two.
|
||
|
|
||
|
=== On 2015-07-23T08:51:44Z Ann Campbell Wrote:
|
||
|
I've swapped in a 'related' link instead.
|
||
|
|
||
|
=== On 2015-07-31T11:13:34Z Ann Campbell Wrote:
|
||
|
Rejected for C# because already implemented by Visual Studio, Roslyn ID "IDE0001"
|
||
|
|