fmt: fix mut_pos in structs with embeds
							parent
							
								
									38c764f0ce
								
							
						
					
					
						commit
						fc6d45b2d7
					
				| 
						 | 
					@ -307,9 +307,9 @@ fn (mut p Parser) struct_decl() ast.StructDecl {
 | 
				
			||||||
		is_pub: is_pub
 | 
							is_pub: is_pub
 | 
				
			||||||
		fields: ast_fields
 | 
							fields: ast_fields
 | 
				
			||||||
		pos: start_pos.extend_with_last_line(name_pos, last_line)
 | 
							pos: start_pos.extend_with_last_line(name_pos, last_line)
 | 
				
			||||||
		mut_pos: mut_pos
 | 
							mut_pos: mut_pos - embeds.len
 | 
				
			||||||
		pub_pos: pub_pos
 | 
							pub_pos: pub_pos - embeds.len
 | 
				
			||||||
		pub_mut_pos: pub_mut_pos
 | 
							pub_mut_pos: pub_mut_pos - embeds.len
 | 
				
			||||||
		language: language
 | 
							language: language
 | 
				
			||||||
		is_union: is_union
 | 
							is_union: is_union
 | 
				
			||||||
		attrs: attrs
 | 
							attrs: attrs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue