[chuck-users] Identical functions
Stefan Blixt
stefan.blixt at gmail.com
Sun Jan 24 17:20:31 EST 2010
You can declare identical functions, with the first one apparently taking
charge:
fun void g(int i) {
<<< "fddf" >>>;
}
fun void g(int i) {
<<< "fdfd" >>>;
}
g(3);
I have a feeling this is old news, but I can't recall this specific issue
being mentioned. It doesn't feel right. It's the same if the functions are
inside classes. Could it have something to do with enabling cross-shred
referencing?
Cheers,
Stefan
--
Release me, insect, or I will destroy the Cosmos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20100124/36cfd316/attachment.html>
More information about the chuck-users
mailing list