mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Adds review suggestions.
This commit is contained in:
		
							parent
							
								
									f3ca0685fe
								
							
						
					
					
						commit
						1b008c62a1
					
				| @ -1,4 +1,6 @@ | |||||||
| contract C { | contract C { | ||||||
|     // Check that visibility is also enforced for the fallback function. |     // Check that visibility is also enforced for the fallback function. | ||||||
|     function() public {} |     function() {} | ||||||
| } | } | ||||||
|  | // ---- | ||||||
|  | // Warning: (90-103): No visibility specified. Defaulting to "public".  | ||||||
|  | |||||||
| @ -1,3 +1,6 @@ | |||||||
| interface I { | interface I { | ||||||
| 	function f() external; | 	function f(); | ||||||
| } | } | ||||||
|  | // ---- | ||||||
|  | // Warning: (15-28): Functions in interfaces should be declared external. | ||||||
|  | // Warning: (15-28): No visibility specified. Defaulting to "public". In interfaces it defaults to external. | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user