Skip to content

Conversation

@StevenCostiou
Copy link
Member

Plus fixing some critiques along the way.

@StevenCostiou StevenCostiou requested a review from adri09070 May 11, 2023 11:57
(Exception allSubclasses includes:
(aContext at: aContext basicSize) class) ifTrue: [ ^ true ]. "#signal sent to an instance of a subclass of Exception"
^ false
^(Exception allSubclasses includes: (aContext at: aContext basicSize) class) "#signal sent to an instance of a subclass of Exception"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot it be simplified with isKindOf: ?

It's still ugly but ...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps.
It is ugly and it should be simplified.
This is also part of the original code.

@adri09070 adri09070 merged commit 2c1ffae into pharo-spec:master May 17, 2023
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.

2 participants