Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BUG1 (3.59 sec)

  1. test/fixedbugs/issue54632.go

    // which could cause false positives in deciding when it's safe to
    // transitively inline indirect function calls.
    
    package main
    
    func main() {
    	bug1()
    	bug2(fail)
    }
    
    func bug1() {
    	fn := fail
    	fn = pass
    	fn()
    }
    
    func bug2(fn func()) {
    	fn = pass
    	fn()
    }
    
    func pass() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 14:31:08 UTC 2022
    - 609 bytes
    - Viewed (0)
  2. 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)
  3. src/html/template/exec_test.go

    	{"bug0", "{{range .MSIone}}{{if $.Method1 .}}X{{end}}{{end}}", "X", tVal, true},
    	// Do not loop endlessly in indirect for non-empty interfaces.
    	// The bug appears with *interface only; looped forever.
    	{"bug1", "{{.Method0}}", "M0", &iVal, true},
    	// Was taking address of interface field, so method set was empty.
    	{"bug2", "{{$.NonEmptyInterface.Method0}}", "M0", tVal, true},
    	// Struct values were not legal in with - mere oversight.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    	{"bug0", "{{range .MSIone}}{{if $.Method1 .}}X{{end}}{{end}}", "X", tVal, true},
    	// Do not loop endlessly in indirect for non-empty interfaces.
    	// The bug appears with *interface only; looped forever.
    	{"bug1", "{{.Method0}}", "M0", &iVal, true},
    	// Was taking address of interface field, so method set was empty.
    	{"bug2", "{{$.NonEmptyInterface.Method0}}", "M0", tVal, true},
    	// Struct values were not legal in with - mere oversight.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top