mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 23:02:28 +01:00
Changed syntax for the object test to the new one.
Author:alexk Date:2009-06-17T13:02:24.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@240 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -198,23 +198,23 @@
|
|||||||
| Yes, default attachment status is controlled by option ''is_attached_by_default''
|
| Yes, default attachment status is controlled by option ''is_attached_by_default''
|
||||||
|-
|
|-
|
||||||
| Object test
|
| Object test
|
||||||
| <code>{o: STRING} e</code>
|
| <code>attached {STRING} e as o</code>
|
||||||
| No
|
| No
|
||||||
| Yes
|
| Yes
|
||||||
| Yes, all object tests should use different names for locals inside a feature, object tests are not permitted in preconditions and check instructions
|
| Yes
|
||||||
|-
|
|-
|
||||||
| Attached target of a call
|
| Attached target of a call
|
||||||
| <code>x.f</code>
|
| <code>x.f</code>
|
||||||
| No
|
| No
|
||||||
| Yes
|
| Yes
|
||||||
| Yes, by option ''is_void_safe''
|
| Yes, by option ''void_safety''
|
||||||
|-
|
|-
|
||||||
| Properly set variable
|
| Properly set variable
|
||||||
| <code>x := value</code> <br/>
|
| <code>x := value</code> <br/>
|
||||||
<code>use (x)</code>
|
<code>use (x)</code>
|
||||||
| No
|
| No
|
||||||
| Yes
|
| Yes
|
||||||
| Yes, by option ''is_void_safe''
|
| Yes, by option ''void_safety''
|
||||||
|}
|
|}
|
||||||
|
|
||||||
==Expressions==
|
==Expressions==
|
||||||
|
|||||||
Reference in New Issue
Block a user