This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler-java.git

commit e55b821e7e4fdd4e7efc3be51fd42be75ea30019
Author: Radu Cotescu <[email protected]>
AuthorDate: Fri May 25 13:27:44 2018 +0200

    SLING-7682 - Add support for data-sly-list and data-sly-repeat iteration 
control
    
    * implemented code changes
    * updated HTL TCK module to current snapshot
---
 pom.xml                                                            | 7 ++++---
 .../scripting/sightly/java/compiler/impl/GlobalShadowChecker.java  | 3 +++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9cc3684..1a46e5d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,7 @@
         The versioning scheme defined here corresponds to SLING-7406 
(<module_version>-<htl_specification_version>). Take care when
         releasing to only increase the first part, unless the module provides 
support for a newer version of the HTL specification.
     -->
-    <version>1.0.23-1.3.1-SNAPSHOT</version>
+    <version>1.0.23-1.4.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <name>Apache Sling Scripting HTL Java Compiler</name>
@@ -82,7 +82,8 @@
                             io.sightly.compiler.java; version:Version=1.1,
                             io.sightly.compiler.java; version:Version=1.2,
                             io.sightly.compiler.java; version:Version=1.3,
-                            io.sightly.compiler.java; version:Version=1.3.1
+                            io.sightly.compiler.java; version:Version=1.3.1,
+                            io.sightly.compiler.java; version:Version=1.4.0
                         </Provide-Capability>
                     </instructions>
                 </configuration>
@@ -163,7 +164,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             
<artifactId>org.apache.sling.scripting.sightly.compiler</artifactId>
-            <version>1.0.20-1.3.1</version>
+            <version>1.0.21-1.4.0-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
 
diff --git 
a/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/GlobalShadowChecker.java
 
b/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/GlobalShadowChecker.java
index f3b8fd0..8e4b286 100644
--- 
a/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/GlobalShadowChecker.java
+++ 
b/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/GlobalShadowChecker.java
@@ -57,6 +57,9 @@ public class GlobalShadowChecker extends 
AbstractCommandVisitor {
     public void visit(Loop.Start loopStart) {
         checkVariable(loopStart.getItemVariable());
         checkVariable(loopStart.getIndexVariable());
+        checkVariable(loopStart.getBeginVariable());
+        checkVariable(loopStart.getStepVariable());
+        checkVariable(loopStart.getEndVariable());
     }
 
     @Override

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to