You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2024/09/18 20:13:39 UTC
(royale-compiler) 02/02: ASVariableTests: add extra expected warning for local var shadowing private method test
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
commit 70e75da8420f03605178bd7288373fa7a9946888
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Wed Sep 18 13:13:23 2024 -0700
ASVariableTests: add extra expected warning for local var shadowing private method test
---
compiler/src/test/java/as/ASVariableTests.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/src/test/java/as/ASVariableTests.java b/compiler/src/test/java/as/ASVariableTests.java
index f89d91773..3b042a8b9 100644
--- a/compiler/src/test/java/as/ASVariableTests.java
+++ b/compiler/src/test/java/as/ASVariableTests.java
@@ -120,7 +120,7 @@ public class ASVariableTests extends ASFeatureTestsBase
};
String source = getAS(imports, declarations, testCode, new String[0]);
compileAndExpectErrors(source, false, false, false, new String[0],
- "Call to isVertical is not a function.\n");
+ "Call to isVertical is not a function.\n* used where a Boolean value was expected. The expression will be type coerced to Boolean.\n");
}
@Test