Summary
I had a module that contained a completed method. I wanted to mark it Shared. When I did so, the method name remained in the toolbar on the left but the editor disappeared and clicking on the method in the toolbar does nothing. The method code and definition became inaccessible.
I shook it loose by duplicating the offending method. The duplicate had all the code, etc., and at that point the original method became visible and interactive again (and was marked Shared), so I deleted the duplicate.
This raises a question. I am struggling a little bit with the purpose of Modules vs Classes.
I first encountered Modules in VB.NET, and I presumed they were a backward compatibility feature to accommodate legacy code from previous versions of VB that lacked OO features. So I basically ignored them I guess. Or at least I don't remember using them.
With Objo, I have come to regard them as sort of a substitute for static / shared classes, yet, that's not quite right either because you aren't obligated to mark all methods Shared. So -- are they implicitly shared? If so then the Shared checkbox should not even be present, or arguably should be pre-checked and greyed out. If not, then why exactly would I declare a Module vs a Class again? Sorry to be dense about this ...
Objo Studio Version
26.7.1
Operating System
Select the operating system(s) affected as tags for this post.
Steps To Reproduce
Expected Result
Actual Result
Screenshots, Logs, Or Sample Project