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 la
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 IronP
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?
On 07/09/06, Nathan Baulch <[EMAIL PROTECTED]>
I'm completely new to Python, so please forgive my ignorance.
I thought a good way to learn would be to target it with my code
generation tool that uses CodeDom. However I'm getting an exception
when my code contains empty return statements
(CodeMethodReturnStatement) for methods that return void.