mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	CodeGenerators: Ensure that we always print the entire generated output
This commit is contained in:
		
							parent
							
								
									e007279315
								
							
						
					
					
						commit
						8032724574
					
				
					 17 changed files with 37 additions and 74 deletions
				
			
		|  | @ -442,8 +442,7 @@ namespace Locale { | |||
| } | ||||
| )~~~"); | ||||
| 
 | ||||
|     // FIXME: This should write the entire span.
 | ||||
|     TRY(file.write_some(generator.as_string_view().bytes())); | ||||
|     TRY(file.write_until_depleted(generator.as_string_view().bytes())); | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
|  | @ -655,8 +654,7 @@ PluralCategory determine_plural_range(StringView locale, PluralCategory start, P | |||
| } | ||||
| )~~~"); | ||||
| 
 | ||||
|     // FIXME: This should write the entire span.
 | ||||
|     TRY(file.write_some(generator.as_string_view().bytes())); | ||||
|     TRY(file.write_until_depleted(generator.as_string_view().bytes())); | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher