[Swift-user] Problem with scope and writability for complex types
Ben Clifford
benc at hawaga.org.uk
Tue Jul 22 11:38:47 CDT 2008
On Tue, 22 Jul 2008, Michael Wilde wrote:
> It seems that the second script should be valid. Both set global variables
> from with a foreach() in global scope.
yes, I think that is correct.
seems to be a bug.
(the handling of write-once semantics at compile time for SwiftScript is
kinda hard because this array syntax doesn't look like write-once...)
--
More information about the Swift-user
mailing list