Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 800 for bug5 (0.2 sec)

  1. test/fixedbugs/bug005.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	Foo: {
    		return;
    	}
    	goto Foo;
    }
    /*
    bug5.go:4: Foo undefined
    bug5.go:4: fatal error: walktype: switch 1 unknown op GOTO l(4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 325 bytes
    - Viewed (0)
  2. test/fixedbugs/bug083.dir/bug1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bug1
    
    import "./bug0"
    
    // This is expected to fail--t0 is in package bug0 and should not be
    // visible here in package bug1.  The test for failure is in
    // ../bug083.go.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 372 bytes
    - Viewed (0)
  3. test/fixedbugs/bug088.dir/bug1.go

    package main
    
    import P "./bug0"
    
    func main() {
    	a0 := P.V0();  // works
    	a1 := P.V1();  // works
    	a2, b2 := P.V2();  // doesn't work
    	_, _, _, _ = a0, a1, a2, b2;
    }
    
    /*
    uetli:~/Source/go1/test/bugs/bug088.dir gri$ 6g bug0.go && 6g bug1.go
    bug1.go:8: shape error across :=
    bug1.go:8: a2: undefined
    bug1.go:8: b2: undefined
    bug1.go:8: illegal types for operand: AS
    	(<(bug0)P.int32>INT32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 550 bytes
    - Viewed (0)
  4. src/html/template/exec_test.go

    	{"bug2", "{{$.NonEmptyInterface.Method0}}", "M0", tVal, true},
    	// Struct values were not legal in with - mere oversight.
    	{"bug3", "{{with $}}{{.Method0}}{{end}}", "M0", tVal, true},
    	// Nil interface values in if.
    	{"bug4", "{{if .Empty0}}non-nil{{else}}nil{{end}}", "nil", tVal, true},
    	// Stringer.
    	{"bug5", "{{.Str}}", "foozle", tVal, true},
    	{"bug5a", "{{.Err}}", "erroozle", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/text/template/exec_test.go

    	{"bug2", "{{$.NonEmptyInterface.Method0}}", "M0", tVal, true},
    	// Struct values were not legal in with - mere oversight.
    	{"bug3", "{{with $}}{{.Method0}}{{end}}", "M0", tVal, true},
    	// Nil interface values in if.
    	{"bug4", "{{if .Empty0}}non-nil{{else}}nil{{end}}", "nil", tVal, true},
    	// Stringer.
    	{"bug5", "{{.Str}}", "foozle", tVal, true},
    	{"bug5a", "{{.Err}}", "erroozle", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  6. test/fixedbugs/bug248.dir/bug2.go

    // Copyright 2010 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 s
    
    import (
    	p0 "./bug0"
    	p1 "./bug1"
    )
    
    // both p0.T and p1.T are struct { X, Y int }.
    
    var v0 p0.T
    var v1 p1.T
    
    // interfaces involving the two
    
    type I0 interface {
    	M(p0.T)
    }
    
    type I1 interface {
    	M(p1.T)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. test/fixedbugs/bug133.dir/bug2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bug2
    
    import _ "./bug1"
    import "./bug0"
    
    type T2 struct { t bug0.T }
    
    func fn(p *T2) int {
    	// This reference should be invalid, because bug0.T.i is local
    	// to package bug0 and should not be visible in package bug1.
    	return p.t.i;	// ERROR "field|undef"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 426 bytes
    - Viewed (0)
  8. test/fixedbugs/bug248.dir/bug3.go

    	// path is full (rooted) path name.  check suffix for gc, prefix for gccgo
    	if s := reflect.TypeOf(v0).PkgPath(); !strings.HasSuffix(s, "/bug0") && !strings.HasPrefix(s, "bug0") {
    		println("bad v0 path", len(s), s)
    		panic("fail")
    	}
    	if s := reflect.TypeOf(v1).PkgPath(); !strings.HasSuffix(s, "/bug1") && !strings.HasPrefix(s, "bug1") {
    		println("bad v1 path", s)
    		panic("fail")
    	}
    
    	// check that dynamic interface check doesn't get confused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 26 15:20:42 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. test/fixedbugs/bug133.dir/bug1.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.
    
    package bug1
    
    import "./bug0"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 218 bytes
    - Viewed (0)
  10. test/fixedbugs/bug248.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.
    
    package ignored
    
    // Compile: bug0.go, bug1.go
    // Compile and errorCheck: bug2.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 328 bytes
    - Viewed (0)
Back to top