From time to time undo make RANDOM changes instead of undo.
For example drop some line instead of undo restoration removed new line.
Making changes in other line.
It not always work the same.
In this file i remove one line on top and change some chars and after that when I undo few time dangerous things happened.
I known that is syntax incorrect example, but I want to undo even with some syntax errors.
In this example it occurs really often, but in syntax correct example it occurs too.
create or replace package test is
--------------------
l_test := 0;
--------------------
begin
--------------------
l_test := 1;
--------------------
l_test := 2;
--------------------
end test;