[Pkg] The Trunk: Tests-eem.388.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Dec 23 19:08:46 UTC 2017

Eliot Miranda uploaded a new version of Tests to project The Trunk:

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

Name: Tests-eem.388
Author: eem
Time: 23 December 2017, 11:08:38.390751 am
UUID: b2681f27-cd71-426b-ab2d-0d331cd9fb24
Ancestors: Tests-nice.387

DecompilerTests: WeakSet>>scanForLoadedSymbol: no longer fails.  Ensure Decompiler >> #initSymbols: is recompiled if it hasn't been.  Its original bytecodes do cause a decompiler failure.  Perhaps this should be in Compiler, but the old version of the method is perfectly serviceable.

=============== Diff against Tests-nice.387 ===============

Item was added:
+ (PackageInfo named: 'Tests') preamble: '"below, add code to be run before the loading of this package"
+ "If recompiled, this method no longer creates an error if decompiled:"
+ ((''*| namedTemps i |*'' match: (Decompiler >> #initSymbols:) decompileString)
+  or: [''*| t2 t3 |*'' match: (Decompiler >> #initSymbols:) decompileString]) ifTrue:
+ 	[Decompiler recompile: #initSymbols: from: Decompiler]'!

Item was changed:
  ----- Method: DecompilerTests>>decompilerFailures (in category 'utilities') -----
  	"Here is the list of failures: either a syntax error, a hard error or some failure to decompile correctly.
  	 Collected via 
  		DecompilerTestFailuresCollector new computeFailures."
  	"class name, selector, error class name or nil"
  	^  #(
  		#(Behavior toolIconSelector: TestFailure) 
  		#(BrowserCommentTextMorph showPane SyntaxErrorNotification) 
  		#(CodeHolder getSelectorAndSendQuery:to:with: SyntaxErrorNotification) 
  		#(DecompilerTests testDecompileUnreachableParameter Error) 
  		#(HttpUrl checkAuthorization:retry: TestFailure) 
  		#(MCConfigurationBrowser post SyntaxErrorNotification) 
  		#(MVCToolBuilder setLayout:in: SyntaxErrorNotification) "same-name block-local temps in optimized blocks"
  		#(ParseNodeBuilder variable: TestFailure) "Almost fully returning if's result in a nil node."
  		#(PNGReadWriter copyPixelsGray: SyntaxErrorNotification) 
  		#(ProtoObjectTest testIfNilIfNotNil SyntaxErrorNotification) 
  		#(ProtoObjectTest testIfNotNil SyntaxErrorNotification) 
  		#(ProtoObjectTest testIfNotNilIfNil SyntaxErrorNotification)
  		#(SHMCClassDefinition withAllSuperclassesDo: SyntaxErrorNotification) "same-name block-local temps in optimized blocks"
  		#(TextURL actOnClickFor: TestFailure) 
  		#(TTContourConstruction segmentsDo: SyntaxErrorNotification) "Worth fixing; these two are mistaken conversion from a whileTrue: to a to:do: but the index is used outside the whileTrue:"
+ 		#(TTFontReader processHorizontalMetricsTable:length: SyntaxErrorNotification))!
- 		#(TTFontReader processHorizontalMetricsTable:length: SyntaxErrorNotification)
- 		#(WeakSet scanForLoadedSymbol: TestFailure))!

More information about the Packages mailing list