pharo-spec / NewTools

All development tools for Pharo, developed with Spec
21 stars 53 forks source link

ProfilerUI: Added a warning when trying to compile and the variables are not declared #741

Closed matburnx closed 3 months ago

matburnx commented 5 months ago

Fixes https://github.com/pharo-project/pharo/issues/16330 As the code we are compiling doesn't belong to any class, the compiler cannot change the definition of the code. A workaround that we found is showing a warning to the user when that happens. A more complete solution can be to implement a binding mechanism like in the Playground, but that needs more discussion.