Fix issue with ParseTreeWriter generating invalid code

Fix issue with ParseTreeWriter generating invalid code for `1 .member`