mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			298 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			298 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract Base {
 | |
|   constructor(uint) public {}
 | |
| }
 | |
| contract Derived is Base(2) { }
 | |
| contract Derived2 is Base(), Derived() { }
 | |
| // ----
 | |
| // TypeError: (101-107): Wrong argument count for constructor call: 0 arguments given but expected 1. Remove parentheses if you do not want to provide arguments here.
 |