mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			191 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			191 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract B { function f() public view {} }
 | |
| contract C is B { function f() public {} }
 | |
| // ----
 | |
| // TypeError: (61-83): Overriding function changes state mutability from "view" to "nonpayable".
 |