Further contracts for non-Void-safe users

This commit is contained in:
Colin Adams
2013-03-14 15:29:11 +00:00
parent a96a143fe0
commit 3206bcc4fd
3 changed files with 34 additions and 10 deletions

View File

@@ -421,7 +421,7 @@ feature {WSF_REQUEST_METHODS} -- Implementation
add_methods (lst: ITERABLE [READABLE_STRING_8])
-- Enable methods from `lst'.
require
lst_attached: lst /= Void
lst_all_attached: lst /= Void and then across lst as c all c.item /= Void end
do
if not is_locked then
across