We are using actipro syntax editor's VB.Net addon in our product. Recently I found that the editor complains about a valid piece of code. Here is the code,
Static Dim tmp As Boolean
tmp = Not tmp
The editor throws an error, "Identifier expected", while the same code compiles in Visual Studio 2013 /2010 without any issue. I am not a VB.net developer, however, I understood from some VB.Net forums that Dim is optional in this context.
Is this is a bug or expected behaviour?
[Modified 10 years ago]