Fixed nil RHS bug in alternative operator #838

This commit is contained in:
Mike Farah
2021-05-28 16:59:02 +10:00
parent 38b9856f50
commit f1f75683c1
4 changed files with 27 additions and 2 deletions
+7
View File
@@ -5,6 +5,13 @@ import (
)
var equalsOperatorScenarios = []expressionScenario{
{
skipDoc: true,
expression: ".a == .b",
expected: []string{
"D0, P[], (!!bool)::true\n",
},
},
{
skipDoc: true,
document: "cat",