Closed avatar-lavventura closed 6 years ago
Hello @avatar-lavventura . That's strange. Can you give me a minimal solidity contract which reproduces this behaviour with the latest emacs-solidity version?
function receiptCheck(intervalNode storage self, uint startTime) public
returns (bool success)
{
interval storage prevNode;
interval storage currentNode;
interval storage prevNodeTemp;
}
That's not a full contract. Please give me the full contract that fails for you. And if interval
and intervalNode
are structs as I assume then I made the following which does not appear to be coloured as you showed:
I have enabled solidity-mode
. I guess there is something wrong on my end.
pragma solidity ^0.4.17;
library Library {
function foo(intervalNode storage self) public
returns (bool success)
{
interval storage doo;
}
}
It works now.
intervalNode
key word printed as follows:I guess
int
seems as keyword as a well.