如何从 Pharo 卸载特征
我很确定我不会在作为开发人员的日常工作中使用 Traits。有一个脚本可以从 Squeak 图像中删除特征:
http://installer.pbworks.com /w/page/19997785/UnloadTraits
但我在
PharoCore 1.3 下测试没有成功(安装安装程序时出现问题: ScriptLoader新安装安装程序) Pharo 1.2 和 PharoCore 1.2(未找到提供的选择器和 LocalSends)
有任何工作脚本可以从 Pharo 卸载特征吗?
I'm quite sure I will not use Traits in my everyday work as developer. There is a script to remove Traits from a Squeak image:
http://installer.pbworks.com/w/page/19997785/UnloadTraits
but I've tested without success under
PharoCore 1.3 (problems installing Installer: ScriptLoader new installingInstaller)
Pharo 1.2 and PharoCore 1.2 (ProvidedSelectors and LocalSends not found)
There is any working script to unload traits from Pharo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不容易实现,因为系统本身使用 Traits。删除脚本是很久以前为 Squeak 编写的,在 Pharo 中从未工作过。它肯定需要在 Pharo 中重新实现。最近邮件列表中有一些关于使特征可选的讨论,请检查那里的状态。
Not easily possible, because the system uses Traits itself. The removal-script was written for Squeak a long time ago and never worked in Pharo. It would certainly need to be re-implemented in Pharo. There was some discussion in the mailing-list about making traits optional recently, check the status there.