mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-10-31 20:08:19 +00:00 
			
		
		
		
	
		
			
				
	
	
	
	
		
			178 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			178 B
		
	
	
	
	
	
	
	
Shadwing declaration
Shadow after incompatible declarations is OK
def _(flag: bool):
    if flag:
        x: str
    else:
        x: int
    x: bytes = b"foo"
