QualityAssistant icon indicating copy to clipboard operation
QualityAssistant copied to clipboard

[RBCascadedNextPutAllsRule] type not inferred

Open Uko opened this issue 10 years ago • 0 comments

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

Uko avatar Apr 23 '15 10:04 Uko