mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 07:43:13 +01:00 
			
		
		
		
	codetools: fixed test class helper default property
git-svn-id: trunk@50020 -
This commit is contained in:
		
							parent
							
								
									beaf4b9def
								
							
						
					
					
						commit
						f7d22a8e0c
					
				@ -26,7 +26,7 @@ var
 | 
			
		||||
  res: Integer;
 | 
			
		||||
begin
 | 
			
		||||
  t := TTest.Create;
 | 
			
		||||
  res{guesstype:integer} := t[3];
 | 
			
		||||
  res{guesstype:longint} := t[3];
 | 
			
		||||
  Writeln('value: ', res);
 | 
			
		||||
  if res <> 3 then
 | 
			
		||||
    Halt(1);
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ var
 | 
			
		||||
  res: Integer;
 | 
			
		||||
begin
 | 
			
		||||
  t := TTest.Create;
 | 
			
		||||
  res{guesstype:integer} := t[3];
 | 
			
		||||
  res{guesstype:longint} := t[3];
 | 
			
		||||
  Writeln('value: ', res);
 | 
			
		||||
  if res <> 3 then
 | 
			
		||||
    Halt(1);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user