The Trunk: MethodMassage-dtl.73.mcz

[email protected] Tue, 9 Jun 2026 00:44:57 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
David T. Lewis uploaded a new version of MethodMassage to project The Trunk:
http://source.squeak.org/trunk/MethodMassage-dtl.73.mcz

==================== Summary ====================

Name: MethodMassage-dtl.73
Author: dtl
Time: 23 May 2026, 6:24:40.21969 pm
UUID: 3148219f-bb82-4666-9fd7-5c6d6e727ef1
Ancestors: MethodMassage-dtl.72

Make BytecodeCoverageTests>>expectedFailures do the right thing for EncoderForV3PlusClosures
The #expectedFailures for BytecodeCoverageTests appears first in MethodMassage-eem.58 but was mistakenly implemented on the class side and later moved to instance side in MethodMassage-ct.69, which now results in an expected failure for #testCoverageOfTestBasicBlockLabelsForMethod for the test running with EncoderForSistaV1, and a not expected failure for EncoderForV3PlusClosures. The test fails with either encoder, so just mark it as an expected failure.

=============== Diff against MethodMassage-dtl.72 ===============

Item was changed:
  ----- Method: BytecodeCoverageTests>>expectedFailures (in category 'failures') -----
  expectedFailures
  	"Alas this class's single test only passes if there are methods in the MethodMassage package that are compiled without full blocks."
+ 
- 	self thisPackage actualMethodsDo:
- 		[:m|
- 		m isQuick ifFalse:
- 			[m encoderClass supportsFullBlocks ifFalse:
- 				[^#()]]].
  	^#(testCoverageOfTestBasicBlockLabelsForMethod)!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]