mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +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
|
||||
t := TTest.Create;
|
||||
res1{guesstype:integer} := t[3];
|
||||
res2{guesstype:integer} := t.GetTest(3);
|
||||
Writeln('value: ', res);
|
||||
if res <> 3 then
|
||||
Halt(1);
|
||||
|
Loading…
Reference in New Issue
Block a user