-
Notifications
You must be signed in to change notification settings - Fork 70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me. Minor comments and it's good to merge. Could you please remove the changes you did to warplib except for integers. They are not very important for this PR and it will break other branches working with memory.,
Conflicts |
Actually they are, we need to have those |
@@ -28,10 +29,14 @@ impl WarpMemoryImpl of MemoryTrait { | |||
|
|||
fn insert(ref self: WarpMemory, position: felt252, value: felt252) { | |||
self.memory.insert(position, value); | |||
self.pointer += 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change breaks the logic in arrayLiteral.ts. Please consider the insert call there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still an issue @piwonskp after what we discuss in daily?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not anymore, now we just should use create
for static arrays
Issue: #1026.