fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
818 stars 219 forks source link

Bug: an extra space is inserted after the return statement if the function returns void #3228

Closed Klug76 closed 3 years ago

Klug76 commented 3 years ago

Bug: an extra space is inserted after the return statement inserted by code completion if the function explicitly returns void:

function foo(): Void
{
  return ;
}

Expected result:

function foo(): Void
{
  return;
}

FD version: https://github.com/fdorg/flashdevelop/commit/c4264e9f73

SlavaRa commented 3 years ago

duplicate #3229