Re: [IronPython] Empty CodeMethodReturnStatement causes exception...

2006-09-12 Thread Dino Viehland
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

Re: [IronPython] Empty CodeMethodReturnStatement causes exception...

2006-09-12 Thread Sanghyeon Seo
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

Re: [IronPython] Empty CodeMethodReturnStatement causes exception...

2006-09-12 Thread Nathan Baulch
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]>

[IronPython] Empty CodeMethodReturnStatement causes exception...

2006-09-06 Thread Nathan Baulch
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.