QualityAssistant
QualityAssistant copied to clipboard
[RBCascadedNextPutAllsRule] type not inferred
Some weird behavior in quality assistant. Have a look at this method:
duplicateVar: aVarName self show: 'Var: ', aVarName, ' redefinition ignored'.This raises the issue: ‘Use cascaded nextPutAll:’s instead of #, in nextPutAll:’ It also pops up the automatic rewrite icon, so I clicked on it to see how it would transform the code. Result:
duplicateVar: aVarName self show: 'Var: ' , aVarName; show: ' redefinition ignored'Needless to say, that’s not a behavior preserving transformation. Johan Fabry