Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for bug0e (0.03 sec)

  1. src/text/template/parse/parse_test.go

    	// Other kinds of assignments and operators aren't available yet.
    	{"bug0a", "{{$x := 0}}{{$x}}", noError, "{{$x := 0}}{{$x}}"},
    	{"bug0b", "{{$x += 1}}{{$x}}", hasError, ""},
    	{"bug0c", "{{$x ! 2}}{{$x}}", hasError, ""},
    	{"bug0d", "{{$x % 3}}{{$x}}", hasError, ""},
    	// Check the parse fails for := rather than comma.
    	{"bug0e", "{{range $x := $y := 3}}{{end}}", hasError, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. test/fixedbugs/bug133.dir/bug0.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 bug0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 198 bytes
    - Viewed (0)
  3. test/fixedbugs/bug088.dir/bug0.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 bug0
    
    var V0 func() int;
    var V1 func() (a int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 242 bytes
    - Viewed (0)
  4. test/fixedbugs/bug106.dir/bug0.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 bug0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 187 bytes
    - Viewed (0)
  5. test/fixedbugs/bug083.dir/bug0.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 bug0
    
    type t0 struct {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 204 bytes
    - Viewed (0)
  6. test/fixedbugs/bug248.dir/bug0.go

    Olivier Duperray <******@****.***> 1327434495 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 19:48:15 UTC 2012
    - 226 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/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)
  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/bug088.dir/bug1.go

    // license that can be found in the LICENSE file.
    
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 550 bytes
    - Viewed (0)
Back to top