Skip to content

Commit

Permalink
CompiledMethod: replace #definition by #definitionString
Browse files Browse the repository at this point in the history
in order to keep polymorphism with ClassDescription >> definitionString
  • Loading branch information
ClotildeToullec committed Mar 10, 2021
1 parent f231ce7 commit b33e1ec
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/Kernel/CompiledCode.class.st
Expand Up @@ -185,8 +185,22 @@ CompiledCode >> comment [

{ #category : #'source code management' }
CompiledCode >> definition [

"Polymorphic to class definition"


self
deprecated: #definition
transformWith:
'`@receiver definition' -> '`@receiver definitionString'.

^ self definitionString
]

{ #category : #'source code management' }
CompiledCode >> definitionString [

"Polymorphic to class definitionString"

^ self sourceCode
]

Expand Down

0 comments on commit b33e1ec

Please sign in to comment.