mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:49:13 +02:00
codetools: added check for guesstype of helper function result
git-svn-id: trunk@50022 -
This commit is contained in:
parent
ced7b32ee9
commit
066fb17354
@ -35,6 +35,7 @@ var
|
|||||||
begin
|
begin
|
||||||
t := TTest.Create;
|
t := TTest.Create;
|
||||||
res1{guesstype:integer} := t[3];
|
res1{guesstype:integer} := t[3];
|
||||||
|
res2{guesstype:integer} := t.GetTest(3);
|
||||||
Writeln('value: ', res);
|
Writeln('value: ', res);
|
||||||
if res <> 3 then
|
if res <> 3 then
|
||||||
Halt(1);
|
Halt(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user