Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for issue64471 (0.15 sec)

  1. src/internal/types/testdata/spec/range_int.go

    	}
    	for u8 = range 0 {
    	}
    	for u8 = range 255 {
    	}
    	for u8 = range 256 /* ERROR "cannot use 256 (untyped int constant) as uint8 value in range clause (overflows)" */ {
    	}
    }
    
    func issue64471() {
    	for i := range 'a' {
    		var _ *rune = &i // ensure i has type rune
    	}
    }
    
    func issue66561() {
    	for range 10.0 /* ERROR "cannot range over 10.0 (untyped float constant 10)" */ {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue64406.go

    // Copyright 2023 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 issue64406
    
    import (
    	"unsafe"
    )
    
    func sliceData[E any, S ~[]E](s S) *E {
    	return unsafe.SliceData(s)
    }
    
    func slice[E any, S ~*E](s S) []E {
    	return unsafe.Slice(s, 0)
    }
    
    func f() {
    	s := []uint32{0}
    	_ = sliceData(s)
    	_ = slice(&s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 20:34:33 UTC 2023
    - 403 bytes
    - Viewed (0)
  3. test/fixedbugs/issue13471.go

    Robert Griesemer <******@****.***> 1608586883 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue48471.go

    Robert Griesemer <******@****.***> 1679511579 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 14:28:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue65417.go

    Cuong Manh Le <******@****.***> 1706841307 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 22:29:14 UTC 2024
    - 752 bytes
    - Viewed (0)
  6. test/fixedbugs/issue64715.go

    Keith Randall <******@****.***> 1702588070 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 19:35:21 UTC 2023
    - 401 bytes
    - Viewed (0)
  7. test/typeparam/issue46461.go

    Robert Griesemer <******@****.***> 1664408693 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 320 bytes
    - Viewed (0)
  8. test/fixedbugs/issue24470.go

    Cuong Manh Le <******@****.***> 1614866161 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 18:46:36 UTC 2021
    - 434 bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue46461.go

    Robert Griesemer <******@****.***> 1699668675 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 20:18:45 UTC 2023
    - 563 bytes
    - Viewed (0)
  10. test/fixedbugs/issue64715.out

    Keith Randall <******@****.***> 1702588070 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 19:35:21 UTC 2023
    - 6 bytes
    - Viewed (0)
Back to top