Open MartinNowak opened 10 years ago
Proposed by @callumenator, https://github.com/MartinNowak/drepl/pull/14#commitcomment-5392071.
If the declarations were parsed as DeclarationStatement, this should already work, but it doesn't. string foo(){ return "bar"; } writeln(foo());
string foo(){ return "bar"; } writeln(foo());
Proposed by @callumenator, https://github.com/MartinNowak/drepl/pull/14#commitcomment-5392071.