Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006533 [Squeak] Traits minor always 06-09-07 12:13 06-09-07 12:13
Reporter Damien Cassou View Status public  
Assigned To dvf
Priority normal Resolution open  
Status assigned   Product Version 3.9
Summary 0006533: Nile makes #testProvidedMethodBindingsWithConflicts fail in 3.9
Description Hi,

if you take a fresh 3.9 and run the test
TraitCompositionTest>>#testProvidedMethodBindingsWithConflicts, it
passes. Then, if you load Nile (package Nile-All from
http://www.squeaksource.com/Nile/), [^] the test fail. However, Nile has
neither extension nor override in any trait related class.

the test is:

"
testProvidedMethodBindingsWithConflicts
 | traitWithConflict methodDict |
 traitWithConflict := self createTraitNamed: #TraitWithConflict
                                                            uses:
self t1 + self t4.
 methodDict := traitWithConflict methodDict.
 self assert: methodDict size = 6.
 self assert: (methodDict keys includesAllOf: #(
                  #m11
                  #m12
                  #m13
                  #m21
                  #m22
                  #m42
                )).
 self
     assert: (methodDict at: #m11) decompileString = 'm11
    self traitConflict'
"

The failing assert is the last one. After having loaded Nile, m11 now
is "self requirement" instead of "self traitConflict".
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-09-07 12:13 Damien Cassou New Issue
06-09-07 12:13 Damien Cassou Status new => assigned
06-09-07 12:13 Damien Cassou Assigned To  => dvf


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker