[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [bug] Comparaison of CompiledCode with =
From: |
Gwenael Casaccio |
Subject: |
[Help-smalltalk] [bug] Comparaison of CompiledCode with = |
Date: |
Fri, 12 Jun 2009 01:41:20 -0700 |
Issue status update for
http://smalltalk.gnu.org/node/315
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/315
Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: MrGwen
Updated by: MrGwen
Status: active
In CompiledCode>>#= you try to compare the literals but the compared
method may be has less or no literals than the, and this is the same
for the byte code.
Fix : simply check if the number of literals and byte code are equals
self numLiterals = aMethod literals ifFalse: [^false].
self numBytecodes = aMethod numBytecodes ifFalse: [^false].
- [Help-smalltalk] [bug] Comparaison of CompiledCode with =,
Gwenael Casaccio <=