Skip to content

Conversation

@writeoncereadmany
Copy link
Contributor

We had some cases recently where the generated encoders were failing to compile because we had a field called value (the same could happen with fields named offset or length, which are less likely but possible), where the generated encoder was shadowing the field with method parameters.

We can resolve this by qualifying field access with this, which only increases clarity and disambiguates the reference - this change includes at least as many as required to permit us to compile with the field names.

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.

1 participant