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

RSRP-272763: Code cleanup breaks VB code

$
0
0
Reporter Philip Lee (philip_lee) Philip Lee (philip_lee)
Created Jun 20, 2011 3:17:15 AM
Updated Jan 4, 2012 12:09:49 AM
Resolved Jan 3, 2012 4:20:08 PM
Priority Critical
Type Bug
Fix versions 6.1
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Cleanup
Affected versions 6.0 EAP
Fixed in build 6.5.1.1703
Create new VB.net website project using VS2010, .NET 3.5

Add a suitably long line e.g.

Dim s As String = String.Format ("{0},{1},{2}", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","cccccccccccccccccccccccccccccccccccccccc")

Run code cleanup and we get:

Dim s As String = String.Format ("{0},{1},{2}", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"cccccccccccccccccccccccccccccccccccccccc")

which doesn't compile, with the error:
Error    1    Visual Basic 9.0 does not support implicit line continuation.    

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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