Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for bug18b (0.18 sec)

  1. src/html/template/exec_test.go

    	{"bug16b", "{{1|printf}}", "", tVal, false},
    	{"bug16c", "{{1.1|printf}}", "", tVal, false},
    	{"bug16d", "{{'x'|printf}}", "", tVal, false},
    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", 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)
  2. src/text/template/exec_test.go

    	{"bug16b", "{{1|printf}}", "", tVal, false},
    	{"bug16c", "{{1.1|printf}}", "", tVal, false},
    	{"bug16d", "{{'x'|printf}}", "", tVal, false},
    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", 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)
  3. test/fixedbugs/bug087.go

    package main
    
    const s string = "foo";
    
    func main() {
    	i := len(s);  // should be legal to take len() of a constant
    	_ = i;
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug087.go
    bug087.go:6: illegal combination of literals LEN 9
    bug087.go:6: illegal combination of literals LEN 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 453 bytes
    - Viewed (0)
  4. test/fixedbugs/bug109.go

    // license that can be found in the LICENSE file.
    
    package bug109
    
    func f(a float64) float64 {
    	e := 1.0
    	e = e * a
    	return e
    }
    
    /*
    6g bugs/bug109.go
    bugs/bug109.go:5: illegal types for operand: MUL
    	(<float64>FLOAT64)
    	(<float32>FLOAT32)
    bugs/bug109.go:5: illegal types for operand: AS
    	(<float64>FLOAT64)
    bugs/bug109.go:6: illegal types for operand: RETURN
    	(<float32>FLOAT32)
    	(<float64>FLOAT64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 523 bytes
    - Viewed (0)
  5. test/fixedbugs/bug082.go

    package main
    
    func main() {
    	x := 0
    	x = ^x // unary ^ not yet implemented
    	if x != ^0 {
    		println(x, " ", ^0)
    		panic("fail")
    	}
    }
    
    /*
    uetli:~/Source/go/test/bugs gri$ 6g bug082.go
    bug082.go:7: fatal error: optoas: no entry COM-<int32>INT32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 413 bytes
    - Viewed (0)
  6. test/fixedbugs/bug140.go

    func main() {
    	if true {
    	} else {
    	L1:
    		goto L1
    	}
    	if true {
    	} else {
    		goto L2
    	L2:
    		main()
    	}
    }
    
    /*
    These should be legal according to the spec.
    bug140.go:6: syntax error near L1
    bug140.go:7: syntax error near L2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 409 bytes
    - Viewed (0)
  7. test/fixedbugs/bug128.go

    	}
    	switch tag := 0; tag {
    		// empty switch is allowed according to syntax
    		// unclear why it shouldn't be allowed
    	}
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug127.go 
    bug127.go:5: switch statement must have case labels
    bug127.go:9: switch statement must have case labels
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 576 bytes
    - Viewed (0)
  8. test/fixedbugs/bug085.go

    // license that can be found in the LICENSE file.
    
    package P
    
    var x int
    
    func foo() {
    	print(P.x);  // ERROR "undefined"
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug085.go
    bug085.go:6: P: undefined
    Bus error
    */
    
    /* expected scope hierarchy (outermost to innermost)
    
    universe scope (contains predeclared identifiers int, float32, int32, len, etc.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 13 23:11:31 UTC 2012
    - 633 bytes
    - Viewed (0)
  9. test/fixedbugs/bug151.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bug151
    
    type S string
    
    type Empty interface {}
    
    func (v S) Less(e Empty) bool {
    	return v < e.(S);
    }
    
    /*
    bugs/bug151.go:10: illegal types for operand: CALL
    	string
    	S
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 350 bytes
    - Viewed (0)
  10. test/fixedbugs/bug150.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bug150
    
    type T int
    func (t T) M()
    
    type M interface { M() } 
    
    func g() (T, T)
    
    func f() (a, b M) {
    	a, b = g();
    	return;
    }
    
    /*
    bugs/bug150.go:13: reorder2: too many function calls evaluating parameters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 18 00:47:29 UTC 2022
    - 385 bytes
    - Viewed (0)
Back to top