5 Replies Latest reply on Apr 17, 2019 6:20 PM by user2885917

    Parser 19.1 can not parse the correct code, but the previous 18.4 one could { i_p => case } Problem with parsing in 19.1 ?

    user2885917

      The code below is compiled and executed in Oracle Database 18c (18.4), but the parser (19.1.0.094) cannot parse it,

      but the previous (18.4.0.376) one could. Is this some kind of problem with parsing in 19.1 ?

       

      declare

        procedure p(i_p in number) is

        begin

          dbms_output.put_line(i_p);

        end;

      begin

        p(i_p => case

                   when 1 = 1 then

                    case

                      when 2 > 0 then

                       1

                      else

                       0

                    end

                   else

                    0

                 end);

      end;

       

      Not Ok with 19.1:

      parser_syntax_error_19.1_01.png

       

      Ok with 18.4:

      parser_syntax_error_18.4_01.png