Skip to content

IVarGetInfo throws an exception #1692

@hpetriffer

Description

@hpetriffer

In the following code IVarGetInfo throws an exception:

public class TestBase
	public access SymVerkauf as symbol
		return null_symbol

	public assign SymVerkauf(val as symbol) as void
		nop()
end class

public class Test inherit TestBase
	public override assign symVerkauf(val as symbol) as void
		nop()
end class

function Start() as void strict
   local test := Test{} as usual

	IVarGetInfo(test, #symVerkauf)

	Console.ReadLine()

	return

The problem seems to be that the override of the assign is written in a different case as in the base class

XSharpTests.zip

Metadata

Metadata

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions