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 <[email protected]> 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
