-
Notifications
You must be signed in to change notification settings - Fork 29
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
Undeclared classes when Squot loads Tonel in Squeak 5.2 #276
Comments
Thank you for the report. These undeclared references are remnants from moving https://github.com/squeak-smalltalk/squeak-tonel/tree/squeak from Pharo to Squeak. The FileSystem classes have different names in Pharo than in Squeak. It seems though that the methods you named are never actually used since I did not run into any actual "UndefinedObject does not understand" errors. Did you? The only senders I found are in the MCFileTree bunch of classes. So my guess is that they were copied from the FileSystemUtils for filetree, but then not all methods actually used for Tonel reading and writing. I would transfer the issue to https://github.com/squeak-smalltalk/squeak-tonel, but somehow do not get that option. @fniephaus Are you able to transfer the issue? |
I'm afraid I can't transfer the issue because |
@tcj Can you please copy your text and open a new issue here: https://github.com/squeak-smalltalk/squeak-tonel/issues |
I went ahead and created a PR on tonel and referenced this issue there: squeak-smalltalk/squeak-tonel#3 |
Merged the PR. I suppose chasing down the unused methods in those platform adapter classes is not worth the effort for now, so I will not open a followup issue for that. |
Loading in Squeak 5.2 results in some classes being referenced which do not (and, I think, will not) exist:
TonelFileSystemUtils class>>default (DiskStore is Undeclared)
TonelFileSystemUtils class>>directoryFromPath: (AbsolutePath is Undeclared)
TonelFileSystemUtils class>>pathNameDelimiter (DiskStore is Undeclared)
TonelFileSystemUtils class seems to be used by SquotTonel-Core and belongs to the package MonticelloTonel-FileSystem.
This TonelFileSystemUtils class does seem to be used by various methods in TonelReader, TonelWriter, and TonelRepository.
I assume this bug is only going to happen when loading Tonel in Squeak (or other non-Pharo platforms). But I am not sure there is another Tonel-specific repo to file the bug against...
Sorry if this is not the proper style or place to report this.
The text was updated successfully, but these errors were encountered: