Hi, does RBUnpackagedCodeRule still make sense?
Because from time to time it gives false positives, so I’ve tried to rewrite it as: “anEntity package mcPackage isNil” but it turns out that every method and class has MCPackage. Uko |
I believe what you want to check is if it belongs to the #_UnpackagedPackage, in which cas it is not referenced in any package yet. Thierry 2015-06-16 16:58 GMT+02:00 Yuriy Tymchuk <[hidden email]>: Hi, does RBUnpackagedCodeRule still make sense? |
Ah, then I can do it like:
anEntity package isDefault Thanks, I like that, but I’ll also wait a bit for other feedback before submitting the change :) Uko
|
send it ;)
Le 16/6/15 17:06, Yuriy Tymchuk a
écrit :
Ah, then I can do it like: |
It’s already integrated in Pharo 5. I’ll open a backport issue for Pharo 4 soon. I was a bit… busy last few days Uko
|
Free forum by Nabble | Edit this page |