-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export of a snapshot with method extensions only fails #24
Comments
I've considered fixing this by looking at the extension name, however that is not good because
The only place where the package name is still available (in case of all methods being extension methods), is the MCVersionInfo... so maybe TonelWriter>>writeVersion: aVersion
packageName := aVersion package name.
self writeSnapshot: aVersion snapshot but this won't work either if someone tries to use |
@pavel-krivanek btw if you've encountered this problem with Git-Migration, then it is fixed (Git-Migration now adds the necessary definition before fileout). But obviously this needs to be fixed in Tonel too. |
related to #59 |
@peteruhnak not, it was not related to Git-Migration. |
The package Moose-TestResources-KGB-P11FullReferee contains only the method extensions. The method
TonelWriter>>#writeSnapshot:
does following:The snapshot does contain no organization nor class definition (it contains only 3 method definitions) so the code fails.
The text was updated successfully, but these errors were encountered: