When using the with statement(vb), two errors were found

SyntaxEditor for Windows Forms Forum

Posted 6 months ago by hehui - manager, foxtable
Version: 22.1.0
Platform: .NET 5.0
Environment: Windows 10 (64-bit)
Avatar

Hello。

This is the code for testing:

Dim abcd As String
With abcd
	With .Substring(2)
		With .Substring(2)
		End With 
	End With 
End With 

Now, hover the mouse on the second  Substring , after a while, a StackOverflowException raised.

In fact, there is no way to enter this code normally, because when you enter the second Substring and then enter "(",  the program will crash and exit immediately

[Modified 6 months ago]

Comments (1)

Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thank you for reporting this.  We've fixed the issue for the upcoming maintenance release.


Actipro Software Support

The latest build of this product (v22.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.