Fixed linearity annotations

This is a bug in the compiler. It should not 
be accepted.
This commit is contained in:
Cédric Pasteur 2011-10-04 13:51:36 +02:00
parent 5e39091321
commit 4c9a7a42a6

View file

@ -389,7 +389,9 @@ fun prio_setpriorityinmissiontrack(prioritytracknumber : int;
priorityindex : int;
missiontrack : TypeTracks.tmissiontrack at r)
returns (missiontrackwithprio : TypeTracks.tmissiontrack at r)
var missiontrack_copy : TypeTracks.tmissiontrack;
let
missiontrack_copy = missiontrack;
missiontrackwithprio =
if prioritytracknumber = missiontrack.m_tracknumber
then Trackslib.setmissiontrackpriority(missiontrack, priorityindex + 1)