Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-282465: Rename refactoring should escape contextual keywords where necessary

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Nov 22, 2011 3:50:33 AM
Updated Nov 24, 2011 8:03:11 PM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Sergey Shkredov (serjic.shkredov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Module M
    Sub Main()
        Dim x
        ReDim x(1)
    End Sub
End Module


Rename 'x' to 'preserve'.

Actual:

Module M
    Sub Main()
        Dim preserve
        ReDim preserve(1)
    End Sub
End Module


Expected:

Module M
    Sub Main()
        Dim preserve
        ReDim [preserve](1)
    End Sub
End Module

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>