ng icon indicating copy to clipboard operation
ng copied to clipboard

typecheck: missing error for unused variable

Open crawshaw opened this issue 8 years ago • 0 comments

ng> ch := make(chan int)
ng> select {
..> case v := <-ch:
..> default:
..> }
ng> 

This should report that v is unused.

crawshaw avatar Dec 06 '17 01:12 crawshaw