Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bug0e (0.03 sec)

  1. src/text/template/parse/parse_test.go

    	// Other kinds of assignments and operators aren't available yet.
    	{"bug0a", "{{$x := 0}}{{$x}}", noError, "{{$x := 0}}{{$x}}"},
    	{"bug0b", "{{$x += 1}}{{$x}}", hasError, ""},
    	{"bug0c", "{{$x ! 2}}{{$x}}", hasError, ""},
    	{"bug0d", "{{$x % 3}}{{$x}}", hasError, ""},
    	// Check the parse fails for := rather than comma.
    	{"bug0e", "{{range $x := $y := 3}}{{end}}", hasError, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/html/template/exec_test.go

    	{"print multi2", "{{print 1234 0x0_1.e_0p+02}}", "1234 7.5", tVal, true},
    
    	// Fixed bugs.
    	// Must separate dot and receiver; otherwise args are evaluated with dot set to variable.
    	{"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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	{"print multi2", "{{print 1234 0x0_1.e_0p+02}}", "1234 7.5", tVal, true},
    
    	// Fixed bugs.
    	// Must separate dot and receiver; otherwise args are evaluated with dot set to variable.
    	{"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.
    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