Reporter | Hadi Hariri (hadihariri) |
---|---|
Created | Jan 28, 2012 10:29:43 AM |
Updated | Mar 23, 2012 3:59:36 PM |
Priority | Major |
Type | Bug |
Fix versions | 7.0 |
State | Submitted |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
a quick scenario
[1/28/12 7:27:19 AM] Krzysztof: I have class
[1/28/12 7:27:22 AM] Krzysztof: A:B
[1/28/12 7:27:27 AM] Krzysztof: B:C
[1/28/12 7:27:30 AM] Krzysztof: B is abstract
[1/28/12 7:27:43 AM] Krzysztof: so A inherits B which inherits C
[1/28/12 7:27:47 AM] Krzysztof: B is abstract
[1/28/12 7:27:52 AM] Krzysztof: C has a virtual method Foo
[1/28/12 7:28:06 AM] Krzysztof: if in B I want to make the method abstract but write
[1/28/12 7:28:20 AM] Krzysztof: public abstract void Foo();
[1/28/12 7:28:35 AM] Krzysztof: R# gives me option to make it override
[1/28/12 7:28:45 AM] Krzysztof: but it then removes the abstract modifier
[1/28/12 7:28:56 AM] Krzysztof: which leads to non-compilable code
[1/28/12 7:27:19 AM] Krzysztof: I have class
[1/28/12 7:27:22 AM] Krzysztof: A:B
[1/28/12 7:27:27 AM] Krzysztof: B:C
[1/28/12 7:27:30 AM] Krzysztof: B is abstract
[1/28/12 7:27:43 AM] Krzysztof: so A inherits B which inherits C
[1/28/12 7:27:47 AM] Krzysztof: B is abstract
[1/28/12 7:27:52 AM] Krzysztof: C has a virtual method Foo
[1/28/12 7:28:06 AM] Krzysztof: if in B I want to make the method abstract but write
[1/28/12 7:28:20 AM] Krzysztof: public abstract void Foo();
[1/28/12 7:28:35 AM] Krzysztof: R# gives me option to make it override
[1/28/12 7:28:45 AM] Krzysztof: but it then removes the abstract modifier
[1/28/12 7:28:56 AM] Krzysztof: which leads to non-compilable code