CADiZ

What does CADiZ do? / Type reports


This page is intended just to be skimmed through to give a flavour of what cadiz does. It lists the type reports that may be emitted by cadiz about Z. The reports are accompanied by the conflicting types, in addition to information about where the mistake is. The list is not guaranteed to be up-to-date. There is a separate tutorial on correcting errors in Z specifications.

Expression is of wrong type for substitution Expression_list is of unexpected type Tuple extension has inappropriate type in this context Expression denoting a type must be a set Inclusion should be a set of bindings Expression used as predicate is not a schema Multiple declarations at different types Component in theta declared with different type in environment Component in schema predicate declared with different type in environment Theta expression has inappropriate type in this context Schema predicate has inappropriate type in this context Expression has different type to selected component of tuple Expression in tuple selection is not a tuple Selected component is inappropriate in this context Expression in binding selection is not a binding Lambda expression has inappropriate type in this context Reference has inappropriate type in this context Generic instantiation expression has inappropriate type in this context Relation's type should be set of operand's type Function in application expression has inappropriate type Decoration expression has inappropriate type in this context Logical schema expression has inappropriate type in this context Schema composition expression has inappropriate type in this context Declaration has inappropriate type in this context Binding extension expression has inappropriate type in this context Schema renaming expression has inappropriate type in this context Schema precondition expression has inappropriate type in this context Schema postcondition expression has inappropriate type in this context Schema piping expression has inappropriate type in this context Schema projection expression has inappropriate type in this context Schema overriding expression has inappropriate type in this context Schema quantification expression has inappropriate type in this context Schema hiding expression has inappropriate type in this context Undecoration expression has inappropriate type in this context Schema construction expression has inappropriate type in this context Quantification has inconsistent type Composed declarations have inconsistent types Piped declarations have inconsistent types Projected declaration has inconsistent type Type of expression not completely specified Generic actual should be a set Operand of theta should be a schema Set comprehension has inappropriate type in this context Definite description has inappropriate type in this context Substitution has inappropriate type in this context Element of set extension has different type from first element Set extension has inappropriate type in this context Expression in Cartesian product should be a set Cartesian product has inappropriate type in this context Operand of powerset should be a set Powerset has inappropriate type in this context Number literal has inappropriate type in this context String literal has inappropriate type in this context Conditional's then and else parts should have same types Conditional has inappropriate type in this context Expression being decorated should be a schema Expression being undecorated should be a schema Expression being renamed should be a schema Expression being negated should be a schema Negation has inappropriate type in this context Operand of pre should be a schema Operand of post should be a schema Left operand of logical schema operator should be a schema Right operand of logical schema operator should be a schema Left operand of schema composition should be a schema Right operand of schema composition should be a schema Left operand of schema piping should be a schema Right operand of schema piping should be a schema Left operand of schema projection should be a schema Right operand of schema projection should be a schema Left operand of schema overriding should be a schema Right operand of schema overriding should be a schema Spot part of quantified schema should be a schema Left operand of schema hiding should be a schema Type of declaration is inappropriate for this operator


IT 24-Oct-2000