mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 13:29:18 +02:00
compiler: fix accidentally committed code in r20285
git-svn-id: trunk@20347 -
This commit is contained in:
parent
b19b8badf9
commit
4d863aff03
@ -652,8 +652,8 @@ implementation
|
||||
end;
|
||||
_CONSTRUCTOR :
|
||||
begin
|
||||
//if not is_classdef then
|
||||
// Message(parser_e_no_constructor_in_records);
|
||||
if not is_classdef then
|
||||
Message(parser_e_no_constructor_in_records);
|
||||
if not is_classdef and (current_structdef.symtable.currentvisibility <> vis_public) then
|
||||
Message(parser_w_constructor_should_be_public);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user