[Issue 3960] Unused local variables not reported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 8 10:09:12 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3960



--- Comment #24 from bearophile_hugs at eml.cc 2012-03-08 10:09:12 PST ---
I have found an interesting information.

In Go language an unused variable is an _error_:


package main
func main() {
  x := 10;
}


prog.go:3: x declared and not used

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list