[IronPython] Empty CodeMethodReturnStatement causes exception...

Dino Viehland dinov at exchange.microsoft.com
Tue Sep 12 19:49:57 CEST 2006

I've opened CodePlex bug #3160 to fix this (http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython).  Seo, I'll try and get this and your other requested fix (function flags) in today or tomorrow.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Tuesday, September 12, 2006 1:53 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Empty CodeMethodReturnStatement causes exception...

2006/9/12, Nathan Baulch <nathan.baulch at gmail.com>:
> I also encountered this same problem in the Boo programming language.
> To fix it, the developers have updated the code to output "return" by
> itself when CodeMethodReturnStatement.Expression is null.
> Would this same behaviour make sense in IronPython?

Yes it would. I hope IronPython team fixes this soon. Meanwhile, I created a patch to fix this problem myself.


Seo Sanghyeon
users mailing list
users at lists.ironpython.com

More information about the Ironpython-users mailing list