Skip to content

"if x is not var y" not working #1755

@hpetriffer

Description

@hpetriffer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions