Opened <a href="http://ironpython.codeplex.com/workitem/32374">issue 32374</a> for this.<div><br></div><div>Best regards</div><div>Mello<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 2:25 PM, Jeff Hardy <span dir="ltr"><<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Mar 6, 2012 at 2:45 AM, Cesar Mello <<a href="mailto:cmello@gmail.com">cmello@gmail.com</a>> wrote:<br>
> Hi Jeff,<br>
<div class="im">> But I reached the same corner: expressions like 2 + 2 work, but 2 + 2.5<br>
> doesn't. Do I have to setup runtime options specific to WP7.1? I've pasted<br>
> the stack trace below. I've heard somewhere there is a pure interpreted mode<br>
> but I don't remember where...<br>
<br>
</div>IronPython isn't fully interpreted yet (IronRuby is, I believe).<br>
That's why the iOS port doesn't work at all, and WP has issues as<br>
well. Keep in mind these are "previews" for a reason - they've hardly<br>
been tested at all (clearly, if adding int + float doesn't even<br>
work...).<br>
<br>
This case, though, the interpreter is not affected. According to MSDN<br>
(<a href="http://msdn.microsoft.com/en-us/library/system.reflection.methodinfo.returntype(v=vs.95).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/system.reflection.methodinfo.returntype(v=vs.95).aspx</a>),<br>
ReturnParameter is not supported (present, but not supported. FFS). In<br>
this case a '#ifdef WP75' is used to separate WP workarounds from real<br>
code.<br>
<br>
Looking at it briefly I can't see an obvious workaround (I'm not sure<br>
what interactions MaybeNotImplementedAttribute will have); can you<br>
open an issue and attach a minimal repro if possible?<br>
<br>
Also, thank you for looking at WP stuff. It needs people to hammer on<br>
it to make sure that it works and find its limitations.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Jeff<br>
</font></span></blockquote></div><br></div>