mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 11:39:40 +01:00 
			
		
		
		
	* rtti is case sensitive
This commit is contained in:
		
							parent
							
								
									c8648b9840
								
							
						
					
					
						commit
						d338eb525d
					
				@ -1,3 +1,4 @@
 | 
			
		||||
{ %version=1.1 }
 | 
			
		||||
program dumpprops;
 | 
			
		||||
 | 
			
		||||
{$ifdef fpc}
 | 
			
		||||
@ -38,11 +39,11 @@ begin
 | 
			
		||||
  t:=TTest.Create;
 | 
			
		||||
  p:=GetPropInfo(t,'Next');
 | 
			
		||||
  if (p<>nil) and
 | 
			
		||||
     (p^.name=Upcase('Next')) then
 | 
			
		||||
     (p^.name='Next') then
 | 
			
		||||
   writeln('Success')
 | 
			
		||||
  else
 | 
			
		||||
   begin
 | 
			
		||||
     writeln('ERROR!');
 | 
			
		||||
     writeln('ERROR! Got: ',p^.name);
 | 
			
		||||
     halt(1);
 | 
			
		||||
   end;
 | 
			
		||||
end.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user