Skip to content

Commit

Permalink
Update eval.go
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Dec 30, 2023
1 parent 11b9c43 commit 6fb071d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func newUserTypeInfo(userType reflect.Type) (*userTypeInfo, error) {
if userType == nil {
return nil, nil
}
if userType.AssignableTo(anyMapType) {
if userType == anyMapType {
return &userTypeInfo{
getAttribute: func(v reflect.Value, attr string) interface{} {
return v.Interface().(map[string]interface{})[attr]
Expand Down

0 comments on commit 6fb071d

Please sign in to comment.