Priority
Show-stopper
Type
Bug 
State
Fixed 
Assignee
Andrey Simanovsky 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
Next build 
  • Submitted by   Serge Baltic
    2 years ago (25 Oct 2007 03:23)
  • Updated by Serge Baltic
    2 years ago (14 Nov 2007 15:21)
  • Jira: RSRP-51819
    (history, comments)

RSRP-51819

CA::VB::CreateFromUsage: "Create Method" Kills Suggested Names As Executing the LiveTemplate

0
Public Class Status
    Implements ICloneable

	Dim myOffset As New Vector
	Public Function Clone() As Object Implements System.ICloneable.Clone
		Move(myOffset)
		Return Nothing
	End Function
End Class


Move is not declared, use the CA to create from usage.

Code suggested immediately, before walking the template:

Public Class Status
    Implements ICloneable

	Dim myOffset As New Vector
	Public Function Clone() As Object Implements System.ICloneable.Clone
		Move(myOffset)
		Return Nothing
	End Function

	Public Sub Move(ByVal offset As Vector)
	End Sub
End Class


Yep, I like the name. But as I just TAB thru it, I get:

Public Class Status
    Implements ICloneable

	Dim myOffset As New Vector
	Public Function Clone() As Object Implements System.ICloneable.Clone
		Move(myOffset)
		Return Nothing
	End Function

	Public Sub Move(ByVal o As Vector)
	End Sub
End Class


Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments