Manuscript (Case [Issue]22642) Reflectivity - #instead links and meta level: original code not executed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22642) Reflectivity - #instead links and meta level: original code not executed

Pharo Issue Tracker
Manuscript Notification
avatar
Marcus Denker opened Case 22642: #instead links and meta level: original code not executed and assigned it to Marcus Denker:
Bug in Project:  Reflectivity: 1. Pharo Image  •  You are subscribed to this case
instead links do not work correctly with #level: the meta link is correctly not called, but the original code is not executed

To reproduce:

 

TestMetaLink>>execute
    UIManager default alert: 'Actual Version'.

 

 

 

and then:

 

| link choice | 

choice := true.
link := MetaLink new metaObject: [ :object :selector :arguments | 
                                              UIManager default alert: 'Linked Version'.
                                              choice ifTrue: [ object perform: selector withArguments: arguments].
                                           ];         
                selector: #value:value:value:;
                 arguments: #(#object #selector #arguments);
                 control: #instead;
                 level: 0.

(TestMetaLink >> #execute) ast link: link.
TestMetaLink new execute.

link uninstall.
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Marcus Denker Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker