[checked with plsqldev 13.0.3]
When I declare a package
..., then the Code contents show all three contained stored procedures. However, when I use compiler directive $error...
..., then the proc_1 disappears from the Code contents. However, an $error variable shows up in the Code contents section "Declaration".
The same problem with Code assistant: With the $error directive in place, the proc_1 stored procedure does not show up in Code assistant when test_package. is typed in editor.
The same problem actually for any identifier immediately following the $error directive in general.
The same problem if the $error directive is enclosed within a $if..$then...$end directive.
When I declare a package
SQL:
create or replace package test_package
is
procedure proc_1;
procedure proc_2;
procedure proc_3;
end test_package;
..., then the Code contents show all three contained stored procedures. However, when I use compiler directive $error...
SQL:
create or replace package test_package
is
$error 'This package is intentionally left uncompilable for the moment!' $end
procedure proc_1;
procedure proc_2;
procedure proc_3;
end test_package;
..., then the proc_1 disappears from the Code contents. However, an $error variable shows up in the Code contents section "Declaration".
The same problem with Code assistant: With the $error directive in place, the proc_1 stored procedure does not show up in Code assistant when test_package. is typed in editor.
The same problem actually for any identifier immediately following the $error directive in general.
The same problem if the $error directive is enclosed within a $if..$then...$end directive.
Last edited: