[Swift-commit] r2541 - trunk

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sat Feb 14 08:17:28 CST 2009


Author: benc
Date: 2009-02-14 08:17:28 -0600 (Sat, 14 Feb 2009)
New Revision: 2541

Modified:
   trunk/CHANGES.txt
Log:
CHANGES for r2538

Modified: trunk/CHANGES.txt
===================================================================
--- trunk/CHANGES.txt	2009-02-14 13:56:10 UTC (rev 2540)
+++ trunk/CHANGES.txt	2009-02-14 14:17:28 UTC (rev 2541)
@@ -1,3 +1,13 @@
+(02/09/14)
+*** Handling of [*] and . has changed. [*] has been broken for several
+    Swift releases, but now has some approximation of its former behaviour,
+    in a cleaner implementation.
+    [*] is now an identity operation, that is array[*] == array.
+    The structure access operator . can now take an array on the left
+    hand side. In situations where a[*].img was used, it is permissible
+    to continue to write a[*].img, or to write a.img - both of these will
+    return an array of img elements.
+
 (02/09/09)
 *** Procedure invocations can be made in any expression context now, rather
     than only directly in an assignment.




More information about the Swift-commit mailing list