mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #10009 from ethereum/enable-4-passing-function-call-inheritance-semantic-tests-via-yul
Enable the four semantic tests from `functionCall.inheritance` that now pass via Yul
This commit is contained in:
		
						commit
						939d1d3293
					
				| @ -9,5 +9,7 @@ contract Child is Base { | |||||||
| 		return f(n); | 		return f(n); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | // ==== | ||||||
|  | // compileViaYul: also | ||||||
| // ---- | // ---- | ||||||
| // g(uint256): 4 -> 8 | // g(uint256): 4 -> 8 | ||||||
|  | |||||||
| @ -22,6 +22,8 @@ contract Child is Base { | |||||||
| 		return s(n); | 		return s(n); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | // ==== | ||||||
|  | // compileViaYul: also | ||||||
| // ---- | // ---- | ||||||
| // g(uint256): 4 -> 12 | // g(uint256): 4 -> 12 | ||||||
| // h(uint256): 4 -> 16 | // h(uint256): 4 -> 16 | ||||||
|  | |||||||
| @ -25,6 +25,8 @@ contract Child is Base { | |||||||
| 		return BaseBase.s(n); | 		return BaseBase.s(n); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | // ==== | ||||||
|  | // compileViaYul: also | ||||||
| // ---- | // ---- | ||||||
| // g(uint256): 4 -> 8 | // g(uint256): 4 -> 8 | ||||||
| // k(uint256): 4 -> 16 | // k(uint256): 4 -> 16 | ||||||
|  | |||||||
| @ -9,6 +9,7 @@ contract Child is Base { | |||||||
| 		return Base.f(n); | 		return Base.f(n); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | // ==== | ||||||
|  | // compileViaYul: also | ||||||
| // ---- | // ---- | ||||||
| // g(uint256): 4 -> 8 | // g(uint256): 4 -> 8 | ||||||
| 
 |  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user