﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6260	"Error ""Following variable is discrete, but does not appear on the LHS of a when-statement"""	marianne.saugier@…	Per Östlund	"I get the error ""Following variable is discrete, but does not appear on the LHS of a when-statement"" for a discrete variable connected to another discrete variable that is in a when statement. Is that normal?

Example:

connect(tapChanger.tap, transformer.tap);            // error with new front end
(transformer.tap is not in the LHS of a when-statement, but tapChanger.tap is, so I would have expected the error to disappear when writing the connect statement.

when time >0 then
transformer.tap.value = tapChanger.tap.value;      // no error
end when;"	defect	reopened	high	NeedsInput	Frontend	1.16.0		error, discrete variable, when statement	
