Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ph1 (0.01 sec)

  1. src/internal/types/testdata/fixedbugs/issue39634.go

    // or artificial test cases.
    
    package p
    
    // crash 1
    type nt1[_ any]interface{g /* ERROR "undefined" */ }
    type ph1[e nt1[e],g(d /* ERROR "undefined" */ )]s /* ERROR "undefined" */
    func(*ph1[e,e /* ERROR "redeclared" */ ])h(d /* ERROR "undefined" */ )
    
    // crash 2
    // Disabled: empty []'s are now syntax errors. This example leads to too many follow-on errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/go/parser/testdata/resolution/typeparams.go2

      // Note that duplicate short var declarations resolve to their alt declaration.
      x /* @x */ := 0
      y /* =@y */ := 0
      T1 /* @T1 */ := 0
      var t1var /* =@t1var */ T1 /* @T1 */
    }
    
    // From go.dev/issue/39634
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top