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

Key: GRVY-754
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Eugene Vigdorchik
Votes: 0
Watchers: 0
Operations

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

inline local based on control flow improvemnt

Created: 01 Dec 07 14:00   Updated: 13 Nov 08 17:11
Component/s: Refactoring
Affects Version/s: None
Fix Version/s: None

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


 Description  « Hide
def k = 9
k = sss(<ref>k)

def t = k

Should be possible to inline 'k' to 9 since it is the only assignment reaching this usage. At this step, refactoring may leave the definition of 'k' together with the assignment, though the assignmet would be immediately flaggedd as unused.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.