Commit Graph

2 Commits

Author SHA1 Message Date
svenbarth
489e038379 Disallow "protected" and "strict protected" in extended records (Delphi compatible).
ptype.pas, parse_record_members:
  * write an error message if "protected" or "strict protected" is encountered
msg/errore.msg:
  + add an error message for disallowed "things" in records

+ added test
* adjusted test (note: according to the bug report this test did not originally have the "protected" section, but it was added by Paul before commiting)

git-svn-id: trunk@23596 -
2013-02-11 18:46:47 +00:00
paul
389c033a29 compiler: fix private and protected members visibility check for nested records (issue #0018768)
git-svn-id: trunk@19000 -
2011-09-07 01:51:13 +00:00