Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Spot the bug
/
Go
/
Constraints and type sets
Spot the bug in the any constraint
from Constraints and type sets
Go 1.27
beginner
4 min
1 issue to find
Find the constraint error in this generated function.
Go
Copy
func
Combine
[T
any
](left, right
T
)
T
{
return
left
+
right
}
Reveal
Copy code
Open in playground
Ask AI about this kata
Report an error
previous kata
Review a generic record index
Review AI code
next kata
Spot the bug in the Equal call
Spot the bug
A new version is available
Reload