Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 136 for typecheck (0.13 sec)

  1. src/cmd/compile/internal/typecheck/type.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 18:49:25 UTC 2022
    - 178 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/bexport.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package typecheck
    
    // Tags. Must be < 0.
    const (
    	// Objects
    	packageTag = -(iota + 1)
    	constTag
    	typeTag
    	varTag
    	funcTag
    	endTag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:52:50 UTC 2023
    - 293 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/stmt.go

    		}
    		checkassign(n.Value)
    	}
    
    	// second half of dance
    	n.SetTypecheck(1)
    	if n.Key != nil && n.Key.Typecheck() == 0 {
    		n.Key = AssignExpr(n.Key)
    	}
    	if n.Value != nil && n.Value.Typecheck() == 0 {
    		n.Value = AssignExpr(n.Value)
    	}
    
    	Stmts(n.Body)
    }
    
    // tcReturn typechecks an ORETURN node.
    func tcReturn(n *ir.ReturnStmt) ir.Node {
    	if ir.CurFunc == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/_builtin/coverage.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // NOTE: If you change this file you must run "go generate"
    // in cmd/compile/internal/typecheck
    // to update builtin.go. This is not done automatically
    // to avoid depending on having a working compiler binary.
    
    //go:build ignore
    
    package coverage
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 16:59:48 UTC 2024
    - 437 bytes
    - Viewed (0)
  5. .golangci.yml

      enable:
        - durationcheck
        - gocritic
        - gofumpt
        - goimports
        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - tenv
        - typecheck
        - unconvert
        - unused
    
    issues:
      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/nowb.go

    // license that can be found in the LICENSE file.
    
    package ssagen
    
    import (
    	"fmt"
    	"strings"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    )
    
    func EnableNoWriteBarrierRecCheck() {
    	nowritebarrierrecCheck = newNowritebarrierrecChecker()
    }
    
    func NoWriteBarrierRecCheck() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/builtin_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package typecheck
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"testing"
    )
    
    func TestBuiltin(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	old, err := os.ReadFile("builtin.go")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 608 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/abiutilsaux_test.go

    package test
    
    // This file contains utility routines and harness infrastructure used
    // by the ABI tests in "abiutils_test.go".
    
    import (
    	"cmd/compile/internal/abi"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"fmt"
    	"strings"
    	"testing"
    	"text/scanner"
    )
    
    func mkParamResultField(t *types.Type, s *types.Sym, which ir.Class) *types.Field {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:34:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/target.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:generate go run mkbuiltin.go
    
    package typecheck
    
    import "cmd/compile/internal/ir"
    
    // Target is the package being compiled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:26 UTC 2020
    - 312 bytes
    - Viewed (0)
  10. test/fixedbugs/issue11750.go

    // compile
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 11750: mkdotargslice: typecheck failed
    
    package main
    
    func main() {
    	fn := func(names string) {
    
    	}
    	func(names ...string) {
    		for _, name := range names {
    			fn(name)
    		}
    	}("one", "two")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 372 bytes
    - Viewed (0)
Back to top