Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Name the `sync` type used to wait until a known group of goroutines has called `Done`." on CodeWiki (https://codewiki.com/practice/fill/go/checkpoint-3/checkpoint-3-wait-group/).
Context (verbatim from the page):
"""
Name the `sync` type used to wait until a known group of goroutines has called `Done`.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Go. Where you are unsure, say so.