diff --git a/RELEASES.md b/RELEASES.md index 0d588b74..085229b4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -14,6 +14,16 @@ commits that introduce the changes. To make a new release, run `tools/mkrelease`, which will handle updating the heading for you. +NEXT +==== +Compiler +-------- +- Do not report value list optimization error on duplicate conjunctive + predicates. + - This doesn't emit code any differently, it merely permits the situation, + which can occur in generated code. + + v18.0.2 (2021-07-15) ==================== This is a bugfix release that corrects issues with the Summary Page compiler diff --git a/src/current/compiler/js.xsl b/src/current/compiler/js.xsl index 8c97de86..c34f099d 100644 --- a/src/current/compiler/js.xsl +++ b/src/current/compiler/js.xsl @@ -1030,7 +1030,8 @@ not( c:eq ) or ( c:eq/c:value-of - and $symtable-map( c:eq/c:value-of/@name )/@dim != '0' ) ] )" /> + and $symtable-map( c:eq/c:value-of/@name )/@dim != '0' ) ] ) + and count( distinct-values( $matches/c:eq/c:value-of/@name ) ) > 1" />