﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2643	Generation of Equations from Record Default values not avoided if modification exist	Jens Frenkel	somebody	"For the following model 
{{{
model RecordDefaultValue

  record MyRecord
    Real a;
    Real b=24;
  end MyRecord;

  MyRecord r=MyRecord(time,-time);
end RecordDefaultValue;
}}}

omc generates the following flat model:
{{{
class RecordDefaultValue
  Real r.a;
  Real r.b = 24.0;
equation
  r.a = time;
  r.b = -time;
end RecordDefaultValue;
}}}

This is absolute wrong because the modification overwrites the default value from r.b."	defect	closed	blocker	1.9.1	Frontend	trunk	fixed		Per Östlund Lennart Ochel
