Fixed #47: let statements in generated code are marked as final and then...

... set in a non-constructor