Skip to content

Conversation

JMLF
Copy link

@JMLF JMLF commented Jul 25, 2025

Fix for #18387.
When trying to access a variable located in the outerContext of a block context if the block is clean it may happen that the value is not available.

The current implementation traverse the stack trying to find the outerContext but it does not correctly works in many case.

This PR proposes to remove the guessing and raise an exception if the block is clean, the UI traps that and shows it nicely.

image

@JMLF JMLF marked this pull request as ready for review July 25, 2025 13:01
@guillep guillep force-pushed the 18387-Binding-of-arguments-does-not-work-well-with-nested-clean-blocks branch from 7f79e72 to 50c090f Compare August 21, 2025 13:10
@jecisc jecisc added the Status: Need more work The issue is nearly ready. Waiting some last bits. label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Need more work The issue is nearly ready. Waiting some last bits.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants