Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007013 [Squeak] Traits minor always 04-12-08 00:12 04-12-08 00:12
Reporter Sophie View Status public  
Assigned To dvf
Priority normal Resolution open  
Status assigned   Product Version 3.9
Summary 0007013: Trait causes lint failure
Description Using 3.9.1, I run Lint checks -> Unnecessary Code
and I get this failure with ClassTrait.

Thanks - Sophie
Additional Information Subject: [BUG]ClassTrait(Object)>>doesNotUnderstand: #superclass

VM: Win32 - a SmalltalkImage
Image: Squeak3.9.1 [latest update: 0007075]


ClassTrait(Object)>>doesNotUnderstand: #superclass
    Receiver: TMPRendering classTrait
    Arguments and temporary variables:
        aMessage: superclass
    Receiver's instance variables:
        methodDict: a MethodDictionary()
        traitComposition: {}
        localSelectors: nil
        users: an IdentitySet(MPView2 class MPTableReport class)
        organization: ('as yet unclassified')

        baseTrait: TMPRendering

[] in BlockLintRule class>>overridesSpecialMessage {[:each | context selectedClass superclass notNil and: [(context selectedCl...]}
    Arguments and temporary variables:
        detector: Overrides a "special" message
        context: a SmalllintContext
        result: Overrides a "special" message
        each: #name

[] in Array(Collection)>>detect:ifNone: {[:each | (aBlock value: each) ifTrue: [^ each]. nil]}
    Arguments and temporary variables:
        aBlock: [] in BlockLintRule class>>overridesSpecialMessage {[:each | context se...etc...
        exceptionBlock: [] in BlockLintRule class>>overridesSpecialMessage {[]}
        each: #name

Array(SequenceableCollection)>>do:
    Receiver: #(#name #comment)
    Arguments and temporary variables:
        aBlock: [] in Array(Collection)>>detect:ifNone: {[:each | (aBlock value: each)...etc...
        index: 1
        indexLimiT: 2
    Receiver's instance variables:
#(#name #comment)


--- The full stack ---
ClassTrait(Object)>>doesNotUnderstand: #superclass
[] in BlockLintRule class>>overridesSpecialMessage {[:each | context selectedClass superclass notNil and: [(context selectedCl...]}
[] in Array(Collection)>>detect:ifNone: {[:each | (aBlock value: each) ifTrue: [^ each]. nil]}
Array(SequenceableCollection)>>do:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Array(Collection)>>detect:ifNone:
[] in BlockLintRule class>>overridesSpecialMessage {[:context :result | ((context selectedClass isMeta ifTrue: [self metaclas...]}
BlockLintRule>>checkClass:
[] in CompositeLintRule>>checkClass: {[:each | each checkClass: aSmalllintContext. Processor yield]}
SortedCollection(OrderedCollection)>>do:
CompositeLintRule>>checkClass:
[] in CompositeLintRule>>checkClass: {[:each | each checkClass: aSmalllintContext. Processor yield]}
Array(SequenceableCollection)>>do:
CompositeLintRule>>checkClass:
[] in CompositeLintRule>>checkClass: {[:each | each checkClass: aSmalllintContext. Processor yield]}
SortedCollection(OrderedCollection)>>do:
CompositeLintRule>>checkClass:
SmalllintChecker>>checkClass:
[] in SmalllintChecker>>run {[:aClass | self checkClass: aClass. self checkMethodsForClass: aClass]}
[] in PackageEnvironment>>classesDo: {[:each | (self includesClass: each) ifTrue: [aBlock value: each]]}
OrderedCollection>>do:
PackageEnvironment>>classesDo:
SmalllintChecker>>run
SmalllintChecker class>>runRule:onEnvironment:
CompositeLintRule(LintRule)>>runOnEnvironment:
ORLintBrowser>>basicRun
[] in ORLintBrowser>>run {[self basicRun]}
[] in BlockContext>>newProcess {[self value. Processor terminateActive]}
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-12-08 00:12 Sophie New Issue
04-12-08 00:12 Sophie Status new => assigned
04-12-08 00:12 Sophie Assigned To  => dvf


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