Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for bug17b (0.28 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/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)
  4. test/fixedbugs/bug076.go

    package main
    
    func f() {
    exit:
    	;
    	goto exit
    }
    
    
    func main() {
    exit:
    	; // this should be legal (labels not properly scoped?)
    	goto exit
    }
    
    /*
    uetli:~/Source/go/test/bugs gri$ 6g bug076.go 
    bug076.go:11: label redeclared: exit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 400 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test/fixedbugs/bug075.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type T struct { m map[int]int }
    func main() {
    	t := new(T);
    	t.m = make(map[int]int);
    	var x int;
    	var ok bool;
    	x, ok = t.m[0];  //bug075.go:11: bad shape across assignment - cr=1 cl=2
    	_, _ = x, ok;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 385 bytes
    - Viewed (0)
  10. test/fixedbugs/bug071.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 bug071
    
    type rat struct  {
    	den  int;
    }
    
    func (u *rat) pr() {
    }
    
    type dch struct {
    	dat chan  *rat;
    }
    
    func dosplit(in *dch){
    	dat := <-in.dat;
    	_ = dat;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 336 bytes
    - Viewed (0)
Back to top