Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for bug16c (0.09 sec)

  1. test/fixedbugs/bug112.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type T struct { s string }
    var t = T{"hi"}
    
    func main() {}
    
    /*
    bug112.go:6: illegal conversion of constant to T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 301 bytes
    - Viewed (0)
  2. test/fixedbugs/bug066.go

    // compile
    
    // 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 bug066
    
    type Scope struct {
    	entries map[string] *Object;
    }
    
    
    type Type struct {
    	scope *Scope;
    }
    
    
    type Object struct {
    	typ *Type;
    }
    
    
    func Lookup(scope *Scope) *Object {
    	return scope.entries["foo"];
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 385 bytes
    - Viewed (0)
  3. test/fixedbugs/bug111.go

    type Stucky struct {
    	n int
    }
    
    func (s *Stucky) Me() Iffy {
    	ncall++;
    	return s
    }
    
    func main() {
    	s := new(Stucky);
    	i := s.Me();
    	j := i.Me();
    	j.Me();
    	if ncall != 3 {
    		panic("bug111")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 427 bytes
    - Viewed (0)
  4. test/fixedbugs/bug120.go

    		t := tests[i]
    		v := strconv.FormatFloat(t.f, 'g', -1, 64)
    		if v != t.out {
    			println("Bad float64 const:", t.in, "want", t.out, "got", v)
    			x, err := strconv.ParseFloat(t.out, 64)
    			if err != nil {
    				println("bug120: strconv.Atof64", t.out)
    				panic("fail")
    			}
    			println("\twant exact:", strconv.FormatFloat(x, 'g', 1000, 64))
    			println("\tgot exact: ", strconv.FormatFloat(t.f, 'g', 1000, 64))
    			ok = false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 1.8K bytes
    - Viewed (0)
  5. test/fixedbugs/bug163.go

    Robert Griesemer <******@****.***> 1607573647 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 249 bytes
    - Viewed (0)
  6. test/fixedbugs/bug169.go

    Robert Griesemer <******@****.***> 1581400967 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 00:40:38 UTC 2020
    - 225 bytes
    - Viewed (0)
  7. test/fixedbugs/bug165.go

    Russ Cox <******@****.***> 1329454170 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 292 bytes
    - Viewed (0)
  8. test/fixedbugs/bug168.go

    Rémy Oudompheng <******@****.***> 1329599742 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 342 bytes
    - Viewed (0)
  9. test/fixedbugs/bug160.go

    Rémy Oudompheng <******@****.***> 1349627825 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 07 16:37:05 UTC 2012
    - 187 bytes
    - Viewed (0)
  10. test/fixedbugs/bug164.go

    Russ Cox <******@****.***> 1329454170 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 284 bytes
    - Viewed (0)
Back to top