Skip to content

Commit

Permalink
[improvement] remove call to basicNew in Object >> #->
Browse files Browse the repository at this point in the history
  • Loading branch information
hogoww committed Nov 27, 2019
1 parent 67ee90b commit 3bec805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kernel/Object.class.st
Expand Up @@ -248,7 +248,7 @@ Object >> -> anObject [

"Note that key and value can be ANY object."

^Association basicNew key: self value: anObject
^Association key: self value: anObject
]

{ #category : #comparing }
Expand Down

0 comments on commit 3bec805

Please sign in to comment.