Skip to content

Commit a349135

Browse files
Patrikmarschall
authored andcommitted
GRSlime rules inherit from the RB rules thus are incorrectly identified
Pharo uses unique identifier to identify rule class. Since GRSlime rules inherit from RB rules they inherit also their unique identifier. This patch creates unique identifier for the GRSlime classes. For more information see test ReSmallLintTest>>testUniqueIdentifierName in Pharo
1 parent 45ae270 commit a349135

12 files changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeBlockLintRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeParseTreeLintRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeTransformationRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeBlockLintRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeParseTreeLintRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeTransformationRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeBlockLintRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeParseTreeLintRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeTransformationRule'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
uniqueIdentifierName
3+
"This identifier should be unique. Should change only when the rule completely change semantics."
4+
^ 'SlimeBlockLintRule'

0 commit comments

Comments
 (0)