Skip to content

Conversation

@bgould
Copy link
Member

@bgould bgould commented Feb 2, 2023

Adds constants and stubs to reflect package to support compilation mentioned in #742 (comment)

@bgould bgould changed the base branch from release to dev February 2, 2023 03:23
Copy link
Member

@dgryski dgryski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably be in value.go with everything else. I just put them in chan.go for convenience when I was trying to get the lua stuff to build.

Copy link
Member

@aykevl aykevl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably be in value.go with everything else.

Agreed, plus two really minor nits you can fix at the same time. Other than that, this looks good to me.


func (v Value) Send(x Value) {
panic("reflect.Value.Send(): unimplemented")

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: unnecessary newline


func (v Value) Close() {
panic("reflect.Value.Close(): unimplemented")

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@bgould bgould self-assigned this Feb 11, 2023
@dgryski
Copy link
Member

dgryski commented Feb 20, 2023

Incorporated this change into #3470

@bgould bgould closed this Feb 21, 2023
@deadprogram deadprogram deleted the reflect-chan-stubs branch May 23, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants