mirror of
				https://github.com/golang/go.git
				synced 2025-11-04 02:30:57 +00:00 
			
		
		
		
	spec: clarify "continue" statement
Taking into account the discussion and relevant feedback on a change proposed in 2013 (see e-mail thread mentioned in issue). Fixes #48864. Change-Id: I811d518b7cbdf6b815695174f1da3d4251f491c3 Reviewed-on: https://go-review.googlesource.com/c/go/+/405756 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
		
							parent
							
								
									7e11ff3816
								
							
						
					
					
						commit
						c01feba15d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -6809,7 +6809,8 @@ OuterLoop:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<p>
 | 
					<p>
 | 
				
			||||||
A "continue" statement begins the next iteration of the
 | 
					A "continue" statement begins the next iteration of the
 | 
				
			||||||
innermost <a href="#For_statements">"for" loop</a> at its post statement.
 | 
					innermost enclosing <a href="#For_statements">"for" loop</a>
 | 
				
			||||||
 | 
					by advancing control to the end of the loop block.
 | 
				
			||||||
The "for" loop must be within the same function.
 | 
					The "for" loop must be within the same function.
 | 
				
			||||||
</p>
 | 
					</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue