mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 17:39:25 +02:00
* fixed error message for attempts to initialise typed const
classes/interfaces (mantis 8006) git-svn-id: trunk@5676 -
This commit is contained in:
parent
8b73c85df2
commit
24ba57fe91
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user