Commit 18c1212
authored
🐛 mqlc: missing float builtin comparison (#5537)
When trying to compare a float with an integer, users will get this
error:
```
cannot find operator handler: float == int
```
This adds the missing comparison.
Signed-off-by: Salim Afiune Maya <afiune@mondoo.com>1 parent 3459dbf commit 18c1212
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
0 commit comments