Skip to content
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

Misc improvements 11 #54

Merged
merged 5 commits into from
Sep 3, 2024
Merged

Misc improvements 11 #54

merged 5 commits into from
Sep 3, 2024

Conversation

janvrany
Copy link
Owner

@janvrany janvrany commented Sep 3, 2024

No description provided.

This commit removes unused `#addPreDependencyOf:on:` and
`#addPostDependencyOf:on:` from `TRRegisterDependencies`
This commit moves `TRCompilationTestShell` and subclasses to category
"Tinyrossa-Tests-Shells", removing "-SmalltalkX". These classes are no
longer Smalltalk/X specific.
This commit removes `compilation`  instvar introduced in commit 84b2519
"Implement `TRCompilationTestShell >> #call` and `#call:`".

In a hindsight, this does not seem proper. We need to be able to test
compilation of multiple functions calling each other, so the there'll
be "multiple compilations".

Removing `compilation` from shell prompted refactoring of `call`, `call:`
and `call:_:` utility methods - they need to take `compilation` as a
first parameter. While at it, split code injection and call to actual
function into two method to facilitate tests with multiple functions.
@janvrany janvrany merged commit 12ff5ea into master Sep 3, 2024
2 checks passed
@janvrany janvrany deleted the pr/misc-improvements-11 branch September 3, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant