Skip to content

Commit 31149c7

Browse files
author
Patrik
committed
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
1 parent eeafe13 commit 31149c7

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)