[16.1.38] Formatter error

I just noticed that in the current beta, the indentation on a SELECT statement is formatted incorrectly under some circumstances. (see example)

-- select statement is formatted incorrectly 

BEGIN
   FOR l_row
      IN (SELECT 'loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong' AS source_expr
           FROM DUAL
          WHERE 1 = 1)
   LOOP
      NULL;
   END LOOP;
END;

-- select statement is formatted correctly when not inside a pl/sql block.

SELECT 'loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong' AS source_expr
  FROM DUAL
 WHERE 1 = 1

In version 16.0.90 the formatting is done correctly with the same formatter settings.

The distortion shows up whenever formatter tries to align the alias on a next line due to max. width exceeded.
There must be something gone wrong in one of the latest builds, I queued it as QP-3970.

Thanks for reporting!
Andre