Skip to content
This repository was archived by the owner on Sep 20, 2022. It is now read-only.
This repository was archived by the owner on Sep 20, 2022. It is now read-only.

undefined: T in func x[T](p *T)(**T) when x[*T](x[T](a)) #23

Description

@go-li

Hello the following program fails to compile
https://play.folang.org/p/2XxLi_ukWR5

package main

func x[T](p *T)(**T){
	return &p
}

func y[T](a *T){
	x[*T](x[T](a))
}

func main() {
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions