Source file test/typeparam/issue51423.dir/b.go

     1  package b
     2  
     3  import "./a"
     4  
     5  func C() a.Comparator[int] {
     6  	return a.CompareInt[int]
     7  }
     8  
     9  func main() {
    10  	_ = C()(1, 2)
    11  }
    12  

View as plain text