Use typechecker to recognise untyped constant expressions.

This lets us more accurately suppress type omission suggestions,
and also has the nice effect of throwing away some clumsy hacks.

This helps address #61, but doesn't completely fix it.
2 files changed
tree: 238cc3cea01655569175c7994ac1bd64c9b6d436
  1. LICENSE
  2. README
  3. golint/
  4. lint.go
  5. lint_test.go
  6. misc/
  7. testdata/