Reporter | Alexander Shvedov (shvedov) |
---|---|
Created | Apr 6, 2012 1:19:53 AM |
Updated | Apr 6, 2012 1:19:53 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Dmitry Ivanov (daivanov) |
Subsystem | Refactoring |
Affected versions | 7.0 Preview |
Fixed in build | No Fixed in build |
Module Module1 Sub Main() Dim x = 2 Call Foo(x) End Sub Sub Foo(ByRef x As Integer) x = 1 End Sub End Module
Transform result is non-compilable:
Module Module1 Sub Main() Dim x = 2 Call x = Foo() End Sub Function Foo() As Integer Dim x As Integer x = 1 Return x End Function End Module