History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RUBY-349
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Roman Chernyatchik
Reporter: Roman Chernyatchik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Ruby

Cache method createRFileInfo() sometimes creates invalid cache for psifile

Created: 10 Mar 07 15:47   Updated: 17 Mar 07 15:08
Component/s: Parsing
Fix Version/s: 0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order:
Roman Chernyatchik - 17 Mar 07 15:08
done (rev 6675, build #0.1.428)