drepl icon indicating copy to clipboard operation
drepl copied to clipboard

Allow to mix statements and declarations in a single line

Open MartinNowak opened this issue 11 years ago • 1 comments

Proposed by @callumenator, https://github.com/MartinNowak/drepl/pull/14#commitcomment-5392071.

MartinNowak avatar Feb 17 '14 07:02 MartinNowak

If the declarations were parsed as DeclarationStatement, this should already work, but it doesn't. string foo(){ return "bar"; } writeln(foo());

MartinNowak avatar Feb 17 '14 07:02 MartinNowak