XSharpPublic icon indicating copy to clipboard operation
XSharpPublic copied to clipboard

"if x is not var y" not working

Open hpetriffer opened this issue 2 months ago • 0 comments

The following code is not working (if block is not called):

	if uSwitch is not logic var bSwitch
		Console.WriteLine("uSwitch is not logic with var")
	endif

if var bSwitch is removed, the code works fine

	if uSwitch is not logic
		Console.WriteLine("uSwitch is not logic")
	endif

XSharpTests.zip

hpetriffer avatar Oct 22 '25 14:10 hpetriffer