The SymbolTableTest/Add_Function_To_Expression test incorrectly asserts that when a symbol table contains an ExpressionDef called "simple expression", subsequently adding a function called "simple expression" results in failure. This is incorrect because this is legal in CQL, e.g.:
library Test version '1.0.0'
define f: true
define function f(): false
The
SymbolTableTest/Add_Function_To_Expression
test incorrectly asserts that when a symbol table contains anExpressionDef
called"simple expression"
, subsequently adding a function called"simple expression"
results in failure. This is incorrect because this is legal in CQL, e.g.: