Closed dpoeschl closed 2 weeks ago
Ported from 132970
Module Program Sub Main() Dim y = 1 ' Rename y to yield Dim f = Iterator Function() y = 2 End Function End Sub End Module
ACTUAL:
Module Program Sub Main() Dim yield = 1 Dim f = Iterator Function() Yield = 2 ' error BC30201: Expression expected. End Function End Sub End Module
EXPECTED:
Module Program Sub Main() Dim yield = 1 Dim f = Iterator Function() [yield] = 2 ' OK End Function End Sub End Module
Probably not specific to rename.
Closing out as we haven't heard anything about this.
Ported from 132970
ACTUAL:
EXPECTED: