Fixed linearity annotations
This is a bug in the compiler. It should not be accepted.
This commit is contained in:
parent
5e39091321
commit
4c9a7a42a6
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue