mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			367 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			367 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
    let r
 | 
						|
    r := 1
 | 
						|
    function f(x, y) -> a, b {
 | 
						|
        // Can be removed, is param
 | 
						|
        x := 1
 | 
						|
        y := 2
 | 
						|
        // Cannot be removed, is return param
 | 
						|
        a := 3
 | 
						|
        b := 4
 | 
						|
    }
 | 
						|
    r := 2
 | 
						|
}
 | 
						|
// ----
 | 
						|
// step: unusedAssignEliminator
 | 
						|
//
 | 
						|
// {
 | 
						|
//     let r
 | 
						|
//     function f(x, y) -> a, b
 | 
						|
//     {
 | 
						|
//         a := 3
 | 
						|
//         b := 4
 | 
						|
//     }
 | 
						|
// }
 |