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

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new e7edc8bfa Configuration: get/set functions for 
allow-strict-function-types weren't named properly following the existing 
convention
e7edc8bfa is described below

commit e7edc8bfa4c99a8fda3d1dc1c61e9bcf9c9d42d8
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Apr 13 10:06:50 2026 -0700

    Configuration: get/set functions for allow-strict-function-types weren't 
named properly following the existing convention
---
 .../main/java/org/apache/royale/compiler/config/Configuration.java    | 4 ++--
 .../main/java/org/apache/royale/compiler/clients/JSConfiguration.java | 2 +-
 .../royale/compiler/internal/projects/RoyaleProjectConfigurator.java  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/compiler-common/src/main/java/org/apache/royale/compiler/config/Configuration.java
 
b/compiler-common/src/main/java/org/apache/royale/compiler/config/Configuration.java
index eb4228c3a..f6056405a 100644
--- 
a/compiler-common/src/main/java/org/apache/royale/compiler/config/Configuration.java
+++ 
b/compiler-common/src/main/java/org/apache/royale/compiler/config/Configuration.java
@@ -6480,14 +6480,14 @@ public class Configuration
 
     private boolean allowStrictFunctionTypes = false;
 
-    public boolean getAllowStrictFunctionTypes()
+    public boolean getCompilerAllowStrictFunctionTypes()
     {
         return allowStrictFunctionTypes;
     }
 
     @Config
     @Mapping({ "compiler", "allow-strict-function-types" })
-    public void setAllowStrictFunctionTypes(ConfigurationValue cv, boolean b)
+    public void setCompilerAllowStrictFunctionTypes(ConfigurationValue cv, 
boolean b)
     {
         allowStrictFunctionTypes = b;
     }
diff --git 
a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
 
b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
index 13b175ad0..d0b22907d 100644
--- 
a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
+++ 
b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
@@ -68,7 +68,7 @@ public class JSConfiguration extends Configuration
         setCompilerAllowAbstractClasses(null, true);
         setCompilerAllowPrivateConstructors(null, true);
         setCompilerAllowImportAliases(null, true);
-        setAllowStrictFunctionTypes(null, true);
+        setCompilerAllowStrictFunctionTypes(null, true);
         setCompilerStrictIdentifierNames(null, false);
         setCompilerStrictFlexCSS(null, false);
         setCompilerAllowArrowFunctions(null, true);
diff --git 
a/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProjectConfigurator.java
 
b/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProjectConfigurator.java
index dcbc5af9b..65eb7dea6 100644
--- 
a/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProjectConfigurator.java
+++ 
b/compiler/src/main/java/org/apache/royale/compiler/internal/projects/RoyaleProjectConfigurator.java
@@ -273,7 +273,7 @@ public class RoyaleProjectConfigurator extends Configurator
             
project.setAllowAbstractClasses(configuration.getCompilerAllowAbstractClasses());
             
project.setAllowPrivateConstructors(configuration.getCompilerAllowPrivateConstructors());
             
project.setAllowArrowFunctions(configuration.getCompilerAllowArrowFunctions());
-            
project.setAllowStrictFunctionTypes(configuration.getAllowStrictFunctionTypes());
+            
project.setAllowStrictFunctionTypes(configuration.getCompilerAllowStrictFunctionTypes());
 
             
project.setStrictIdentifierNames(configuration.getCompilerStrictIdentifierNames());
             project.setStrictFlexCSS(configuration.getCompilerStrictFlexCSS());

Reply via email to