mirror of
				https://github.com/golang/go.git
				synced 2025-11-04 02:30:57 +00:00 
			
		
		
		
	
							parent
							
								
									e919275825
								
							
						
					
					
						commit
						2a54997baa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -375,7 +375,7 @@ func encOpFor(rt reflect.Type) (encOp, int, os.Error) {
 | 
				
			||||||
			if err != nil {
 | 
								if err != nil {
 | 
				
			||||||
				return nil, 0, err
 | 
									return nil, 0, err
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			info := getTypeInfoNoError(typ);
 | 
								info := mustGetTypeInfo(typ);
 | 
				
			||||||
			op = func(i *encInstr, state *encoderState, p unsafe.Pointer) {
 | 
								op = func(i *encInstr, state *encoderState, p unsafe.Pointer) {
 | 
				
			||||||
				state.update(i);
 | 
									state.update(i);
 | 
				
			||||||
				// indirect through info to delay evaluation for recursive structs
 | 
									// indirect through info to delay evaluation for recursive structs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue