Acknowledged

bad const unfolding

this code:

const
	coTest1 = 1,
	coTest2 = 2;

class clTest
{	
	var
		mTest;
	
	function initialize(t)
	{
		mTest 	= t;
	}
}

var c = new clTest(1);
var d = null;
var	x = c.coTest1;
//var y = d.coTest2;//Error: Unexpected Type Error, Details: Failed invoking <symbol>
var y = c has :coTest1;
SYS.println(x + " " + y);

prints

1 true

Is it by design that x.CONST is unfolding to x.CONST_value?