[Swift-devel] Overwriting procedures in swift.

Yadu Nand yadudoc1729 at gmail.com
Tue Aug 9 10:01:22 CDT 2011


> what happens with case? (and, what *should* happen with case?)

(int o) f ( int i) {
      o = i;
}
(int z) F (int a){
      z = a * 5 ;
}
trace ( f (5) , F(5) );

for the above snippet, trace returns 25, 25.
So F is overwriting f anyway. I don't think this is right.

> I think karajan identifiers are case insensitive (?) but this patch looks
> like it is case-sensitive.

Fixed it. Please check the new patch attached.


-- 
Thanks and Regards,
Yadu Nand B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overwrite_case_sensitive.patch
Type: text/x-patch
Size: 1209 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110809/c11236d5/attachment.bin>


More information about the Swift-devel mailing list