The Trunk: Tests-nice.453.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tests-nice.453.mcz

commits-2
Nicolas Cellier uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-nice.453.mcz

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

Name: Tests-nice.453
Author: nice
Time: 14 April 2021, 9:48:52.082889 pm
UUID: 48129d8e-693f-c446-866e-629cb1baced2
Ancestors: Tests-nice.452, Tests-ct.425

Merge Tests-ct.425

        Adds regression test for a compiler bug that was fixed in Compiler-ct.414

=============== Diff against Tests-nice.452 ===============

Item was added:
+ ----- Method: CompilerTest>>testCascadeOnBlock (in category 'tests - syntax') -----
+ testCascadeOnBlock
+ "Regression test. See http://forum.world.st/BUG-Cannot-compile-cascade-sent-to-block-td5108942.html"
+
+ self
+ shouldnt: [Compiler
+ evaluate: '[true] whileFalse; whileFalse'
+ notifying: PluggableTextMorph new "dummy requestor"]
+ raise: Error.
+ self
+ assert: 2
+ equals: (Compiler
+ evaluate: '| x | x := 0. [x := x + 1] doWhileTrue: [false]; doWhileFalse: [true]. x'
+ notifying: PluggableTextMorph new "dummy requestor").!