This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 191

Summary: Crash when using functions in initialisers
Product: UPPAAL Reporter: Gerd Behrmann <behrmann>
Component: libutapAssignee: Gerd Behrmann <behrmann>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.5.9   
Hardware: All   
OS: All   
Architecture:
Attachments: Test case

Description Gerd Behrmann 2005-08-23 16:36:20 CEST
Functions can be called in initialisers, range declarations, template arguments or array size specifications, 
but this is only well-defined as long as the function is side-effect free and does only depend on constants. 
If it depends on non-constant variables, the type-checker should complain about this, but it doesn't. 
Instead UPPAAL crashes.
Comment 1 Gerd Behrmann 2005-08-23 16:37:19 CEST
Created attachment 55 [details]
Test case
Comment 2 Gerd Behrmann 2005-10-05 19:46:19 CEST
A fix has been checked into CVS.