Issue 786 in moose-technology: MooseQueryResult>>intersection: is broken
Labels: Type-Defect Priority-Medium Component-MooseTools
New issue 786 by anquetil...(a)gmail.com: MooseQueryResult>>intersection: is
calling intersection between two MooseQueryResult produces an error
because "MooseQueryResult is not a variable type"
This is raised in basicNew:
A possible workaround is to redefine MooseQueryResult>>intersection:
| result |
result := self class new.
aCollection do: [ :each|
((self includes: each) and: [(result includes: each) not])
ifTrue: [ result add: each]].
But it might not be the best solution since I assume basicNew: might be
called from other methods ...