-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed == that the compiler didn't like
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f10b7c0
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.
@dgarroDC do you think this may have broken anything? I don't really get how was this working before. The compiler cried that
!variable_type(tokens[j], state).back() == 4
is always false because !(bool) == 1 or == 0 and that's never 4.f10b7c0
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.
Oh, I'm sorry. It's working fine with your change.
f10b7c0
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.
What did this break? I may have to upload new binaries for 4.4 so I'd like to add that to the changelog.
f10b7c0
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.
You could write something like
get length of myList lol. Hi there, this is not a valid statement but 🤔 i 🤔 don't 🤔 care 🤔
andline_like
would return true.f10b7c0
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.
Hm, that is a problem. Do you by any chance know if these are the only places where this happens? Do you also know by any chance if this was introduced recently? These were the only two instances of this error I could find but I would like to be sure about that.
f10b7c0
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 think so.
The bug was introduced in ff1f105.