Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fixGlobalTypVarDecl (0.13 sec)

  1. src/go/types/generate_test.go

    							return false
    						}
    					}
    				}
    			}
    		}
    		return true
    	})
    }
    
    // fixGlobalTypVarDecl changes the global Typ variable from an array to a slice
    // (in types2 we use an array for efficiency, in go/types it's a slice and we
    // cannot change that).
    func fixGlobalTypVarDecl(f *ast.File) {
    	ast.Inspect(f, func(n ast.Node) bool {
    		switch n := n.(type) {
    		case *ast.ValueSpec:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top