Summary: | A better error message is needed for name clashes | ||
---|---|---|---|
Product: | UPPAAL | Reporter: | Ulrik Nyman <ulrik> |
Component: | Engine | Assignee: | Gerd Behrmann <behrmann> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | P1 | ||
Version: | 3.5.7 | ||
Hardware: | PC | ||
OS: | All | ||
URL: | http://www.cs.aau.dk/~ulrikl/uppaal/nameClashSyntaxError.xml | ||
Architecture: |
Description
Ulrik Nyman
2005-03-15 09:57:55 CET
I agree that the error message is misleading (although correct). However, notice that it is perfectly legal for a location to have the same name as a global variable (as the location is defined in a nested scope). A better solution is to change the error message produced when refering to the location to: "Locations cannot be referenced at this point.". I will fix this in the 3.5 code base. Eventually, we will backport the fix to 3.4. Moved bug to 3.5.7, as 3.4 is a stable release series and fixing a minor bug is not worth the risk. The error messages for invariants and guards have now been changed to include the type of the expression. |