Skip to content
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

MatchOperator should be that type instead of int #1410

Merged

Commits on Jun 1, 2020

  1. MatchOperator should be that type instead of int

    Right now `MatchOperator` constants are ints and when you're trying to
    assign them to a variable you get an int. If you try to use those
    variables as operator you get the following error:
    
    ```
    cannot use operator (type int) as type MatchQueryOperator in argument to q.SetOperator
    
    ```
    
    So, to fix this problem we just need to create `MatchOperator` constants
    ethervoid committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    1b0cc2b View commit details
    Browse the repository at this point in the history