Ticket #763 (closed bug: fixed)
wrong type leads to endless recursion
| Reported by: | maeder | Owned by: | maeder |
|---|---|---|---|
| Priority: | major | Milestone: | 0.95 |
| Component: | logic-hascasl | Version: | 0.93 |
| Keywords: | Cc: | autexier |
Description
logic HasCASL
spec List =
var elem : Type;
type List elem
spec Processes = List then
var msg : Type;
type Process msg
type ProcessList msg := List (Process msg);
spec States = Processes
then
var msg : Type;
free type State msg ::= mkstate ProcessList
The missing argument for the type synonym ProcessList leads to an endless recursion. The last line should be
free type State msg ::= mkstate (ProcessList msg)
Change History
Note: See
TracTickets for help on using
tickets.