FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
28 stars 16 forks source link

Functions and expressions with the same name in the same library cannot be resolved #460

Open EvanMachusak opened 1 month ago

EvanMachusak commented 1 month ago

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