Move msg.gas to global function gasleft(). Closes #2971.

This commit is contained in:
Daniel Kirchner
2018-03-05 11:18:04 +01:00
parent 5982869e94
commit c633c0eacb
11 changed files with 102 additions and 9 deletions
+2 -1
View File
@@ -902,7 +902,8 @@ public:
ByteArrayPush, ///< .push() to a dynamically sized byte array in storage
ObjectCreation, ///< array creation using new
Assert, ///< assert()
Require ///< require()
Require, ///< require()
GasLeft ///< gasleft()
};
virtual Category category() const override { return Category::Function; }