Skip to content

Commit

Permalink
Adding a printOn: to CompiledBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Jun 5, 2020
1 parent 0f469f0 commit 98ec292
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Kernel/CompiledBlock.class.st
Expand Up @@ -131,8 +131,11 @@ CompiledBlock >> primitive [
]

{ #category : #printing }
CompiledBlock >> printOn: s [
s << 'compiledBlock'
CompiledBlock >> printOn: anStream [

anStream
nextPutAll: 'a CompiledBlock: ';
nextPutAll: self sourceNode sourceCode
]

{ #category : #compatibility }
Expand Down

0 comments on commit 98ec292

Please sign in to comment.