Cache method createRFileInfo() sometimes creates invalid cache for psifile. E.g. sometimes access modifiers are incorrect.
1. Create class:
class A
private
def m1
end
def m2
end
end
2. Lets delete letter 'e' in word 'private'
3. Lets rename m2 to m23
As a result have in cache class A with 2 methods: private m1 and public m2.
I suppose the problem is in implementation of RContainerImpl.getVirtualCopy(), you should make caching more smart at this method.
Description
Cache method createRFileInfo() sometimes creates invalid cache for psifile. E.g. sometimes access modifiers are incorrect.
1. Create class:
class A
private
def m1
end
def m2
end
end
2. Lets delete letter 'e' in word 'private'
3. Lets rename m2 to m23
As a result have in cache class A with 2 methods: private m1 and public m2.
I suppose the problem is in implementation of RContainerImpl.getVirtualCopy(), you should make caching more smart at this method.