Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-189108: [VB] 'Inline variable' forgets to parenthesize query expression

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 24, 2010 1:47:06 PM
Updated Jan 11, 2012 12:33:46 AM
Priority Critical
Type Bug
Fix versions Mirabile Futurum
State Open
Assignee Olga Lobacheva (olka)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Option Strict On

Module M
    Sub Foo()
        Dim z = From x In "" Select x
        Console.WriteLine(z.First())
    End Sub
End Module


Inline variable z. Result:

Option Strict On

Module M
    Sub Foo()
        Console.WriteLine(From x In "" Select x = x.First())
    End Sub
End Module

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>