-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added info
returning info map. made object.Array sortable replacing MapKeys, use Equals in constant check, fix missing FLOAT handling
#107
Conversation
…MapKeys, use Equals in constant check, fix missing FLOAT handling
…ore, conversion through NativeBoolToBooleanObject only where needed
@@ -671,9 +671,9 @@ func evalMapInfixExpression(operator token.Type, left, right object.Object) obje | |||
rightMap := right.(object.Map) | |||
switch operator { //nolint:exhaustive // we have default. | |||
case token.EQ: | |||
return object.MapEquals(leftMap, rightMap) | |||
return object.NativeBoolToBooleanObject(object.MapEquals(leftMap, rightMap)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like here @ccoVeille
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had already marked the file as read, so when I saw the refactoring I thought it was no longer used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
np and btw thanks a lot for all your time reviewing all these PRs
info
returning info map including identifiers stack (see README.md update for examples) and:bool
until last minuteExample: