Skip to content

Checker not failing when accessing unexported struct fields #844

Closed

Description

@diegommm

When I was working in #824, I found what I think is an issue. But there is this test which was failing if I tried to "fix" it. So I thought it was not an issue so I didn't apply a fix, but I would like to discuss it.

I will create to PRs, I will ask you to decide which one we should apply and we can close the other one:

Activity

  1. added a commit that references this issue on Sep 21, 2025
    55acb0e
  2. changed the title [-]Unexported struct fields can be accessed[/-] [+]Checker not failing when accessing unexported struct fields[/+] on Sep 21, 2025
  3. added a commit that references this issue on Sep 21, 2025
    efeb3cc
  4. antonmedv commented on Sep 21, 2025

    @antonmedv
    Member

    Nice catch! Lets fix it the correct way.

  5. added a commit that references this issue on Sep 21, 2025
    3d0aec6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions