1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:38:34 -06:00
go/ssa
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
..
interp go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
testdata go.tools/ssa: fix ssa tests (fix build partly) 2013-09-18 11:39:55 -07:00
blockopt.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
builder_test.go go.tools: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00
builder.go go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00
const.go go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00
create.go go.tools/ssa: SSA fixes for *types.Builtin becoming an object (CL 13813043) 2013-09-23 18:18:35 -04:00
doc.go go.tools/ssa: doc tweaks + a sanity check. 2013-10-09 12:47:30 -04:00
dom.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
emit.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
example_test.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
func.go go.tools/ssa: doc tweaks + a sanity check. 2013-10-09 12:47:30 -04:00
lift.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
lvalue.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
print.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
promote.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
sanity.go go.tools/ssa: doc tweaks + a sanity check. 2013-10-09 12:47:30 -04:00
source_test.go go.tools: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00
source.go go.tools/ssa: SSA fixes for *types.Builtin becoming an object (CL 13813043) 2013-09-23 18:18:35 -04:00
ssa.go go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00
stdlib_test.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
testmain.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
util.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
visit.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00