mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #2627 from atfornes/patch-2
Change Mapping example to valid (executable) code
This commit is contained in:
		
						commit
						887823dca6
					
				| @ -815,9 +815,10 @@ for each ``_KeyType``, recursively. | ||||
|     } | ||||
| 
 | ||||
|     contract MappingUser { | ||||
|         address contractAddress = 0x42; | ||||
|         function f() returns (uint) { | ||||
|             return MappingExample(contractAddress).balances(this); | ||||
|             MappingExample m = new MappingExample(); | ||||
|             m.update(100); | ||||
|             return m.balances(this); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user