Hi marcus we SyntaxErrorNotification>>setClass: aClass category: aCategory code: codeString doitFlag: aBoolean errorMessage: errorString location: anInteger inClass := aClass. category := aCategory. code := codeString. doitFlag := aBoolean. messageText := errorString. location := anInteger and I wonder what is the category? I imagine that this is a method protocol more than a class category? I would like to add setClass: aClass protocol: aProtocol code: codeString doitFlag: aBoolean errorMessage: errorString location: anInteger inClass := aClass. category := aCategory. code := codeString. doitFlag := aBoolean. messageText := errorString. location := anInteger and keep the other as backward compatibility. Stef
There is already an issue about it: 11657 A Compiler compiles, it does not classify and hence need no category https://pharo.fogbugz.com/f/cases/11657 I want to clean that up after we remove the old compiler. I do not have the man power to do it for both, especially considering this would be completely wasted effort. Marcus
On 31 May 2015, at 07:51, stepharo <stepharo@free.fr> wrote:
Hi marcus
we
SyntaxErrorNotification>>setClass: aClass category: aCategory code: codeString doitFlag: aBoolean errorMessage: errorString location: anInteger inClass := aClass. category := aCategory. code := codeString. doitFlag := aBoolean. messageText := errorString. location := anInteger
and I wonder what is the category? I imagine that this is a method protocol more than a class category?
I would like to add
setClass: aClass protocol: aProtocol code: codeString doitFlag: aBoolean errorMessage: errorString location: anInteger inClass := aClass. category := aCategory. code := codeString. doitFlag := aBoolean. messageText := errorString. location := anInteger
and keep the other as backward compatibility.
Stef
participants (2)
-
Marcus Denker -
stepharo