﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5445	[NF] Synchronous operators are not allowed in if condition	anonymous	Per Östlund	"In the new instantiation, it isn't possible to use synchronous operators in ''if equation'' condition

{{{#!modelica
model Example
  Real x = time;
  Real y;
  parameter Boolean cond = false;
  
equation
  when Clock() then
    if sample(cond) then
      y = sample(x);
    else
      y = 0;
    end if;
  end when;
  
end Example;

// ~/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1657:9-1658:51]:
//   Internal error NFCeval.evalBuiltinCall: unimplemented case for sample
}}}

The same error happened with other synchronous operators, like '''hold'''."	defect	closed	high	Future	New Instantiation		fixed	synchronous	
