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. golint/
  2. misc/
  3. testdata/
  4. LICENSE
  5. lint.go
  6. lint_test.go
  7. README