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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>: > 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. http://sparcs.kaist.ac.kr/~tinuviel/download/patch-ironpython-codedom-empty-return Seo Sanghyeon _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com