Author:halw

Date:2009-09-15T01:22:19.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@299 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2009-09-15 06:41:24 +00:00
parent 3e7adb8214
commit aa1c9e0833
3 changed files with 23 additions and 3 deletions

View File

@@ -603,7 +603,7 @@ The only exception to the last rule is termination of the original root procedur
The description of assignments stated that in <code>x := y</code> the target <code>x</code> must be an entity. More precisely it must be a '''writable''' entity. This notion excludes formal routine arguments: as noted, a routine <code>r (arg: SOME_TYPE)</code> may not assign to <code>arg</code> (reattaching it to a different object), although it can change the attached objects through calls of the form <code>arg.procedure (...)</code> .
Restricting the targets of assignments to entities precludes assignments of the form
Allowing only entities to be the targets of assignments precludes assignments of the form
<code>
obj.some_attribute := some_value
-- This syntax is disallowed (except in the presence of an `assigner command', see below)