﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2237	Assertions checked at the wrong place	Martin Sjölund	Willi Braun	"From the compliance suite:
{{{#!mo
within ModelicaCompliance.Algorithms.Assignment;

model AssignmentOrder
  extends Icons.TestCase;

  Real x;
algorithm
  x := 3.0;
  assert(Util.compareReal(x, 3.0), ""x was not set correctly, ""+String(x)+"" <> 3.0."");
  x := 4.0;
  assert(Util.compareReal(x, 4.0), ""x was not set correctly, ""+String(x)+"" <> 4.0."");
  x := 5.0;

  annotation (
    __ModelicaAssociation(TestCase(shouldPass = true)),
    experiment(StopTime = 0.01),
    Documentation(
    info = ""<html>Tests that assignments in an algorithm section are performed
      in the given order.</html>""));
end AssignmentOrder;
}}}

We get:
> Message : x was not set correctly, 5 <> 3.0."	defect	closed	high	1.9.0	Run-time	trunk	fixed		Willi Braun Lennart Ochel
