Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

UnaryOperation expression type missing from type definitions #86

Open
naddison36 opened this issue Sep 7, 2019 · 1 comment
Open

UnaryOperation expression type missing from type definitions #86

naddison36 opened this issue Sep 7, 2019 · 1 comment

Comments

@naddison36
Copy link

See line 104 of IDEX's Exchange contract verified on Etherscan https://etherscan.io/address/0x2a0c0DBEcC7E4D658f48E01e3fA353F44050c208#code

if (!Token(token).transferFrom(msg.sender, this, amount)) throw;

This has an expression type of UnaryOperation

@yxliang01
Copy link
Contributor

Yes. This is confirmed. Example UnaryOperation formation is at

assert.deepEqual(expr, {
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants