diff --git a/specification.md b/specification.md index 0519bb1..c4f9690 100644 --- a/specification.md +++ b/specification.md @@ -358,8 +358,8 @@ As the parser only does syntactic checking, additional semantic checks are imple - Checking that all execution paths of a non-void function return a value - You may assume that there is no dead code - Type checking (remember, neither implicit nor explicit type conversions) - - Includes checking operations on arrays (including array size) - Includes checking arguments and return types for call expressions + - Don't forget that an array's type includes its size Semantic checking may stop on the first error encountered.