mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 10:47:27 +08:00 
			
		
		
		
	 3138157826
			
		
	
	3138157826
	
	
	
		
			
			Adjust heuristic used to skip autogenerated functions so that it works correctly with the new naming scheme in go1.18. Fixes #2948
		
			
				
	
	
		
			15 lines
		
	
	
		
			139 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			139 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| type T struct {
 | |
| }
 | |
| 
 | |
| func main() {
 | |
| 	t := T{}
 | |
| 	f1 := t.m1
 | |
| 	println(f1(1)) //break
 | |
| }
 | |
| 
 | |
| func (t T) m1(x int) int {
 | |
| 	return x + 1
 | |
| }
 |