Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _exit (0.89 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		i++
    	}
    	return i + int(pos.Col()-1) // columns are 1-based
    }
    
    func TestIssue8518(t *testing.T) {
    	imports := make(testImporter)
    	conf := Config{
    		Error:    func(err error) { t.Log(err) }, // don't exit after first error
    		Importer: imports,
    	}
    	makePkg := func(path, src string) {
    		imports[path], _ = conf.Check(path, []*syntax.File{mustParse(src)}, nil) // errors logged via conf.Error
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top