What does this program print?

from Generics
Go 1.27 beginner 2 min

What does this program print?

Go
package main

import "fmt"

type Score int

func Double[T ~int](value T) T {
    return value * 2
}

func main() {
    result := Double(Score(7))
    fmt.Printf("%T %v\n", result, result)
}
Open in playground
Report an error