Rene,
please try it with #635.
This is what I get on #635 on your test:
public class Foo {
void dummy() {
}
static void bar(Foo foo, int i) {
foo.dummy();
while (i > 0)
bar(foo, i-1);
}
}
Seems OK to me :)
Friendly,
Dmitry
Rene Smit wrote:
>>Rene,
>>could you post a test case for this, please?
>>I cannot reporduce this on #635.
>>
>>Friendly,
>> Dmitry
>
>
> Ok, I looked into more detail at the problem and it looks to be a specific
> case. The this reference was actually added by the refactoring. I could
> reproduce it with the code below, trying to make method bar static. bar is a
> recursive method, and I think that's where it goes wrong. However, if I remove
> the call to dummy(), it works just fine.
>
> public class Foo {
> void dummy() {
> }
> void bar(int i) {
> dummy();
> while (i > 0)
> bar(i-1);
> }
> }
>
--
Dmitry Lomov
JetBrains Inc. / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs