Dear all

There seem to be some implicit casts that CIL misses. This code:

void foo(int i, char c) {
   foo('.', 2); 
   i = c;
   c = i;
}

becomes:

void foo(int i, char c) {
   foo('.', (char)2);
   i = (int)c;
   c = (char)i;
}

Where I guess the call to foo should be "foo((int)'.', (char)2);". Does 
anyone already have a fix for that?


Thanks
Marco

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to