Skip to content

Commit

Permalink
internal/reflectlite: lite version of reflect package
Browse files Browse the repository at this point in the history
to be used by errors package for checking assignability
and setting error values in As.

Updates golang#29934.

Change-Id: I8c1d02a2c6efa0919d54b286cfe8b4edc26da059
Reviewed-on: https://go-review.googlesource.com/c/161759
Run-TryBot: Marcel van Lohuizen <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Russ Cox <[email protected]>
  • Loading branch information
mpvl committed Feb 27, 2019
1 parent b9596ae commit 9650726
Show file tree
Hide file tree
Showing 12 changed files with 2,737 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/go/build/deps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var pkgDeps = map[string][]string{
"unsafe": {},
"internal/cpu": {},
"internal/bytealg": {"unsafe", "internal/cpu"},
"internal/reflectlite": {"runtime", "unsafe"},

"L0": {
"errors",
Expand All @@ -57,6 +58,7 @@ var pkgDeps = map[string][]string{
"unsafe",
"internal/cpu",
"internal/bytealg",
"internal/reflectlite",
},

// L1 adds simple functions and strings processing,
Expand Down
Loading

0 comments on commit 9650726

Please sign in to comment.