Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for bug369 (0.14 sec)

  1. 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)
  2. 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)
  3. test/fixedbugs/bug313.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 1284
    
    package bug313
    
    /*
    6g bug313.dir/[ab].go
    
    Before:
    bug313.dir/b.go:7: internal compiler error: fault
    
    Now:
    bug313.dir/a.go:10: undefined: fmt.DoesNotExist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 350 bytes
    - Viewed (0)
  4. test/fixedbugs/bug348.go

    		for i := 0;; i++ {
    			pc, file, line, ok := runtime.Caller(i)
    			if !ok {
    				print("BUG: bug348: cannot find caller\n")
    				return
    			}
    			if !strings.Contains(file, "bug348.go") || runtime.FuncForPC(pc).Name() != "main.f" {
    				// walk past runtime frames
    				continue
    			}
    			if line != 17 {
    				print("BUG: bug348: panic at ", file, ":", line, " in ", runtime.FuncForPC(pc).Name(), "\n")
    				return
    			}
    			recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 800 bytes
    - Viewed (0)
  5. test/fixedbugs/bug331.go

    		println("wrong", x, len(x), y, z)
    	}
    }
    
    /*
    issue 1712
    
    bug331.go:12: cannot use "hello" (type string) as type float64 in assignment
    bug331.go:12: cannot use 0 (type float64) as type os.Error in assignment:
    	float64 does not implement os.Error (missing String method)
    bug331.go:12: error in shape across RETURN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 804 bytes
    - Viewed (0)
  6. test/fixedbugs/bug239.go

    // Test case for issue 475. This file should compile.
    
    package main
    
    import . "unsafe"
    
    func main() {
    	var x int
    	println(Sizeof(x))
    }
    
    /*
    bug239.go:11: imported and not used: unsafe
    bug239.go:15: undefined: Sizeof
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 390 bytes
    - Viewed (0)
  7. test/fixedbugs/bug352.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var x [10][0]byte
    var y = make([]struct{}, 10)
    
    func main() {
    	if &x[1] != &x[2] {
    		println("BUG: bug352 [0]byte")
    	}
    	if &y[1] != &y[2] {
    		println("BUG: bug352 struct{}")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 361 bytes
    - Viewed (0)
  8. test/fixedbugs/bug167.go

    		x int
    	}
    }
    
    func f2() {
    	type T struct {
    		x float64
    	}
    }
    
    func main() {
    	f1()
    	f2()
    }
    
    /*
    1606416576: conflicting definitions for main.T·bug167
    bug167.6:	type main.T·bug167 struct { x int }
    bug167.6:	type main.T·bug167 struct { x float64 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:19:59 UTC 2012
    - 462 bytes
    - Viewed (0)
  9. test/fixedbugs/bug219.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 bug219
    
    func f(func()) int { return 0 }
    
    // this doesn't work:
    // bug219.go:16: syntax error near if
    func g1() {
    	if x := f(func() {
    		if true {}
    	}); true {
    		_ = x;
    	}
    }
    
    // this works
    func g2() {
    	if x := f(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 527 bytes
    - Viewed (0)
  10. test/fixedbugs/bug161.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package P
    
    const a = 0;
    
    func f(a int) {
    	a = 0;
    }
    
    /*
    bug161.go:8: operation LITERAL not allowed in assignment context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 295 bytes
    - Viewed (0)
Back to top