Community
Participate
Working Groups
Steps to reproduce: 1. Invoke "Introduce Factory" on the "C" constructor below 2. Confirm default settings for the transformation 3. The resulting file does not compile ("Type mismatch: Cannot convert from C<Object> to C<T>") class C<T> { // Invoke "Introduce Factory" on the following constructor C(T o) { } C<T> f() { return new C(new Object()); } } (Thanks to Yilong Li for helping with the bug report.)
Issue is reproducible using I20130115-1300. The refactoring results in compiler error.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Still an issue in 4.12 M1.