1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:34:51 -07:00
go/go
Robert Griesemer f50f6c858a go.tools/go/types: nil is not a constant + misc. cleanups
- removed support for nil constants from go/exact
- instead define a singleton Nil Object (the nil _value_)
- in assignments, follow more closely spec wording
  (pending spec CL 14415043)
- removed use of goto in checker.unary
- cleanup around handling of isRepresentable for
  constants, with better error messages
- fix missing checks in checker.convertUntyped
- added isTyped (== !isUntyped) and isInterface predicates
- fixed hasNil predicate: unsafe.Pointer also has nil
- adjusted ssa per adonovan
- implememted types.Implements (wrapper arounfd types.MissingMethod)
- use types.Implements in vet (and fix a bug)

R=adonovan, r
CC=golang-dev
https://golang.org/cl/14438052
2013-10-09 14:17:25 -07:00
..
exact go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00
types go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00
vcs go.tools/vcs: allow compilation with go 1.0 2013-10-04 11:46:57 +10:00