Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absence of check of variable existence in updates #169

Open
etienneandre opened this issue Mar 14, 2024 · 0 comments
Open

Absence of check of variable existence in updates #169

etienneandre opened this issue Mar 14, 2024 · 0 comments
Labels

Comments

@etienneandre
Copy link
Collaborator

Bug occurring in develop/486ad42 (Build date: 2024-03-06 17:45:32 UTC)

var


(************************************************************)
  automaton pta_1
(************************************************************)
actions: notify;

loc l0: invariant True
	when True sync notify do {doesntexist := 0} goto l0;

end (* pta *)



(************************************************************)
(* Initial state *)
(************************************************************)

init := {
	
    discrete =
		(*------------------------------------------------------------*)
		(* Initial location *)
		(*------------------------------------------------------------*)
		loc[pta_1] := l0,

		(*------------------------------------------------------------*)
		(* Initial discrete variables assignments *)
		(*------------------------------------------------------------*)

    ;

    continuous =        
		(*------------------------------------------------------------*)
		(* Initial clock constraints *)
		(*------------------------------------------------------------*)

		(*------------------------------------------------------------*)
		(* Parameter constraints *)
		(*------------------------------------------------------------*)
	;
}


(************************************************************)
(* The end *)
(************************************************************)
end

Problem: doesntexist does not exist; and it's not detected at all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant