Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for issue5895 (0.15 sec)

  1. src/internal/types/testdata/check/shifts.go

    		if Addrs&rtaRtMask&(1<<i) == 0 {}
    	}
    
    	// from src/text/scanner/scanner.go:540
    	{
    		var s struct { Whitespace uint64 }
    		var ch rune
    		for s.Whitespace&(1<<uint(ch)) != 0 {}
    	}
    }
    
    func issue5895() {
    	var x = 'a' << 1 // type of x must be rune
    	var _ rune = x
    }
    
    func issue11325() {
    	var _ = 0 >> 1.1 /* ERROR "truncated to uint" */ // example from issue 11325
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue5856.go

    var x = 1
    
    func f() {
    	if x == 0 {
    		return
    	}
    	defer g()
    	panic("panic")
    }
    
    func g() {
    	_, file, line, _ := runtime.Caller(2)
    	if !strings.HasSuffix(file, "issue5856.go") || line != 28 {
    		fmt.Printf("BUG: defer called from %s:%d, want issue5856.go:28\n", file, line)
    		os.Exit(1)
    	}
    	os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 28 20:55:36 UTC 2018
    - 586 bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue45985.go

    // Copyright 2021 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 issue45985
    
    func app[S interface{ ~[]T }, T any](s S, e T) S {
    	return append(s, e)
    }
    
    func _() {
    	_ = app /* ERROR "S (type int) does not satisfy interface{~[]T}" */ [int] // TODO(gri) better error message
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 22:48:09 UTC 2023
    - 377 bytes
    - Viewed (0)
  4. test/fixedbugs/issue15895.go

    Josh Bleecher Snyder <******@****.***> 1472945516 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 04 00:15:41 UTC 2016
    - 400 bytes
    - Viewed (0)
  5. test/fixedbugs/issue4495.go

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 369 bytes
    - Viewed (0)
  6. test/fixedbugs/issue6295.go

    Rémy Oudompheng <******@****.***> 1390362950 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 22 03:55:50 UTC 2014
    - 275 bytes
    - Viewed (0)
  7. test/fixedbugs/issue65893.go

    Cuong Manh Le <******@****.***> 1709312079 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 01:45:48 UTC 2024
    - 269 bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue50965.go

    Robert Griesemer <******@****.***> 1670545237 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 431 bytes
    - Viewed (0)
  9. test/fixedbugs/issue18595.go

    Keith Randall <******@****.***> 1484181624 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:00:05 UTC 2017
    - 867 bytes
    - Viewed (0)
  10. test/fixedbugs/issue18895.go

    Matthew Dempsky <******@****.***> 1497495431 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 15 04:17:30 UTC 2017
    - 200 bytes
    - Viewed (0)
Back to top