It appears that the slash gets picked up and re-executed after "show err". I think it is re-executed. I didn't test to see if it is just printed twice and just a display bug.
SQL>create or replace type foo as
2 end;
3 /
Warning: Type created with compilation errors.
Elapsed: 00:00:00.06
SQL>show err
Errors for TYPE FOO:
LINE/COL ERROR
-------- -----------------------------------------------------------------
2/1 PLS-00103: Encountered the symbol "END" when expecting one of
the following:
array varray table object fixed varying opaque sparse
SQL>/
Warning: Type created with compilation errors.
Elapsed: 00:00:00.06
When I execute the code block:
It appears that the slash gets picked up and re-executed after "show err". I think it is re-executed. I didn't test to see if it is just printed twice and just a display bug.