aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/adder.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/adder.go')
-rw-r--r--test/typeparam/adder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeparam/adder.go b/test/typeparam/adder.go
index eb564b5bd5..79319bd236 100644
--- a/test/typeparam/adder.go
+++ b/test/typeparam/adder.go
@@ -11,7 +11,7 @@ import (
)
type AddType interface {
- type int, int64, string
+ int | int64 | string
}
// Add can add numbers or strings