Project

General

Profile

Feature #2055

Updated by Greg Shah over 7 years ago

Next error is in ./src/housing/vcpl/daqueau0.p:

<pre>
EXPRESSION EXECUTION ERROR:
---------------------------
throwException( sprintf("Unknown expression return type: %s", rettype), this)
^ { Unknown expression return type: rowid [FUNC_ROWID id <99845104744947> 2599:78] }
---------------------------
ERROR:
java.lang.RuntimeException: ERROR! Active Rule:
-----------------------
RULE REPORT
-----------------------
Rule Type : WALK
Source AST: [ ROWID ] BLOCK/PROCEDURE/BLOCK/STATEMENT/KW_IF/KW_THEN/INNER_BLOCK/BLOCK/STATEMENT/KW_IF/KW_THEN/INNER_BLOCK/BLOCK/INNER_BLOCK/BLOCK/STATEMENT/KW_FIND/RECORD_PHRASE/KW_WHERE/EXPRESSION/EQUALS/FUNC_ROWID/ @2599:78 {99845104744947}
Copy AST : [ ROWID ] BLOCK/PROCEDURE/BLOCK/STATEMENT/KW_IF/KW_THEN/INNER_BLOCK/BLOCK/STATEMENT/KW_IF/KW_THEN/INNER_BLOCK/BLOCK/INNER_BLOCK/BLOCK/STATEMENT/KW_FIND/RECORD_PHRASE/KW_WHERE/EXPRESSION/EQUALS/FUNC_ROWID/ @2599:78 {99845104744947}
Condition : throwException( sprintf("Unknown expression return type: %s", rettype), this)
Loop : false
--- END RULE REPORT ---
</pre>

This is occurring in annotations/where_clause_post2.rules. Looks like we need to add rowid (and recid) into the vartypes map. I think this means we need similar changes to the exptypes map above it. Note that classes RowidExpression and RecidExpression do not currently exist.

Back