PolyMath icon indicating copy to clipboard operation
PolyMath copied to clipboard

Math-Complex package inconsistency

Open rjsargent opened this issue 2 years ago • 2 comments

The Math-Complex package contains both PMComplexNumber.class.st and PMComplexNumber.extension.st.

The methods from the extension file show up in Pharo 9.0 as "as yet unclassified". In other Smalltalk implementations, the extension methods in the same package can be reported as an error.

Found while porting PolyMath to GemStone/S. The solution appears to be just merge the extension methods into the PMComplexNumber.class.st file (or properly categorize the methods in the GUI).

rjsargent avatar Sep 27 '22 01:09 rjsargent

Add this pair to the list. They are the only ones I can find. I would appreciate learning whether the .extension.st should be rolled into the one .class.st file or if a separate package is actually the intended implementation.

Math-Quaternion/PMQuaternion.class.st Math-Quaternion/PMQuaternion.extension.st

rjsargent avatar Oct 03 '22 20:10 rjsargent

At this point, it appears the class files hold the same methods as the extension files do. I am hypothesizing that the file out of methods that are categorized like '*Math-Complex' write both the .class.st file and the .extension.st file.

rjsargent avatar Oct 04 '22 16:10 rjsargent