You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2026/06/01 13:25:45 UTC

(royale-compiler) branch local_var_resolution_issue updated (14fbdf9cc -> fd523d257)

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

greg-dove pushed a change to branch local_var_resolution_issue
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


    from 14fbdf9cc Merge branch 'develop' into missing_scope_bugfix
     add c31c10517 fix for more robust lookup during reParse
     add 8519dfc64 including Josh's fix for when assertions are enabled.
     add 76ab48466 refine on-demand scope restoration in FunctionScope - Explicitly trigger getScope() in addition to reconnectScopeNode() if A FunctionNode is found to be unparsed  (after being recreated post-GC) to ensure local definitions are restored immediately after a node is recreated. - Remove restrictive getFileScope() checks in property lookups to ensure the restoration trigger fires in unit  tests and other detached scope scenarios where the Workspace is available.
     add fd523d257 update the NameResolution test to be more portable across branches, more accurate as a test, and also correctly named for the ant and maven builds.

No new revisions were added by this update.

Summary of changes:
 .../royale/compiler/internal/scopes/ASScope.java   |   2 +-
 .../compiler/internal/scopes/FunctionScope.java    |  10 +-
 .../internal/scopes/NameResolutionAfterGCTest.java | 111 --------------
 .../scopes/NameResolutionAfterGCTests.java         | 163 +++++++++++++++++++++
 4 files changed, 171 insertions(+), 115 deletions(-)
 delete mode 100644 compiler/src/test/java/org/apache/royale/compiler/internal/scopes/NameResolutionAfterGCTest.java
 create mode 100644 compiler/src/test/java/org/apache/royale/compiler/internal/scopes/NameResolutionAfterGCTests.java