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

Bug 265

Summary: Disallow parameterised scalar types
Product: UPPAAL Reporter: Gerd Behrmann <behrmann>
Component: libutapAssignee: Gerd Behrmann <behrmann>
Severity: normal    
Priority: P1    
Version: 3.6 Alpha 4   
Hardware: All   
OS: All   

Description Gerd Behrmann 2006-02-11 19:21:18 CET
A template local scalar definition is shared amongst all instances of the template. Therefore parameterised 
scalar types should be disallowed by the type checker.
Comment 1 Gerd Behrmann 2006-02-22 09:55:11 CET
I may be better to change the semantics of scalarset definitions inside a template: Potentially, a bigger 
reduction is possible if they are not shared between the instances. Thus template parameters may be used 
in the scalarset definition. However, the type checker then needs to be modified to disallow e.g. 
comparisons of local scalar variables over local scalarsets from different instances of the same template.
Comment 2 Gerd Behrmann 2006-02-23 21:20:04 CET
Fixed on the trunk. Local scalar set types from two different instances of the same template are no longer