Explorar o código

* fixed error message for attempts to initialise typed const
classes/interfaces (mantis 8006)

git-svn-id: trunk@5676 -

Jonas Maebe %!s(int64=18) %!d(string=hai) anos
pai
achega
24ba57fe91
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/ptconst.pas

+ 1 - 1
compiler/ptconst.pas

@@ -922,7 +922,7 @@ implementation
               n:=comp_expr(true);
               if n.nodetype<>niln then
                 begin
-                  Message(type_e_no_const_packed_array);
+                  Message(parser_e_type_const_not_possible);
                   consume_all_until(_SEMICOLON);
                 end
               else