[IronPython] Empty CodeMethodReturnStatement causes exception...

Sanghyeon Seo sanxiyn at gmail.com
Tue Sep 12 10:52:38 CEST 2006


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.

http://sparcs.kaist.ac.kr/~tinuviel/download/patch-ironpython-codedom-empty-return

Seo Sanghyeon



More information about the Ironpython-users mailing list