diff --git a/specification.md b/specification.md index 487620e..0519bb1 100644 --- a/specification.md +++ b/specification.md @@ -356,6 +356,7 @@ As the parser only does syntactic checking, additional semantic checks are imple - Checking for calls to unknown functions - Checking for presence of `main` and correct signature - 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