Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.
This repository was archived by the owner on Jul 31, 2018. It is now read-only.

Abstract equality in JSCert - argument order flipping #28

Open
@tilk

Description

@tilk

I noticed that in some cases in the definition of abstract equality, the type conversion cause the order of arguments to flip in the recursive call. This happens when the argument to be converted is the first (left) argument. So, the definition in JSCert does not follow the ES5 spec literally. This does not change semantics, but it makes this definition harder to work with. I am now trying to prove correctness of abstract equality in LambdaJS using JSCert, and with the current definition of abstract equality in JSCert, I have to account for this argument order flipping in the proof. The proof would be simpler if the argument order was preserved.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions