You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Checker not failing when accessing unexported struct fields #844
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
fix expr-lang#844: remove incorrect bug notice
[-]Unexported struct fields can be accessed[/-][+]Checker not failing when accessing unexported struct fields[/+]fix expr-lang#844: disallow direct access to unexported struct fields
antonmedv commentedon Sep 21, 2025
Nice catch! Lets fix it the correct way.
Fix expr-lang#844 alternative 2: do not allow access to unexported st…