forked from libre-chip/fayalite
		
	fix annotations getting lost
This commit is contained in:
		
							parent
							
								
									6e0b6c000d
								
							
						
					
					
						commit
						2a25dd9d7b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -2272,7 +2272,8 @@ pub fn annotate<T: Type>(target: Expr<T>, annotations: impl IntoAnnotations) { | |||
|             .body | ||||
|             .annotations_map | ||||
|             .entry(decl) | ||||
|             .or_default(); | ||||
|             .or_default() | ||||
|             .extend(annotations); | ||||
|     }); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue