mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 06:19:28 +02:00
* fix from r13288
git-svn-id: trunk@13289 -
This commit is contained in:
parent
47702aa3a5
commit
f5a24d0f5b
@ -79,7 +79,10 @@ implementation
|
||||
p:=comp_expr(true);
|
||||
{ calc return type }
|
||||
if is_new then
|
||||
set_varstate(p,vs_written,[])
|
||||
begin
|
||||
set_varstate(p,vs_written,[]);
|
||||
valid_for_var(p,true);
|
||||
end
|
||||
else
|
||||
set_varstate(p,vs_readwritten,[vsf_must_be_valid]);
|
||||
if (m_mac in current_settings.modeswitches) and
|
||||
|
Loading…
Reference in New Issue
Block a user