Priority
Show-stopper
Type
Bug 
State
Duplicate RSRP-43414  
Assignee
Andrey Simanovsky 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build Next build
  • Submitted by   Oleg Stepanov
    2 years ago (17 Jun 2007 14:02)
  • Updated by Oleg Stepanov
    2 years ago (26 Jun 2007 14:52)
  • Jira: RSRP-43490
    (history, comments)

RSRP-43490

Create overload without parameter quickfix doens't work with ByRef parameters

0
Take the following code:

  Sub foo(ByRef a As Integer, ByVal b As List(Of Object), ByVal c As Class1)
  End Sub


and execute "Create overload without parameter" quickfix on the first parameter. Result is:

  Sub foo(ByVal b As List(Of Object), ByVal c As Class1)
    Dim a As Integer = [Nothing]
    foo(a, b, c)
  End Sub


which is wrong.

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