mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reimplement constant evaluator.
This commit is contained in:
committed by
Leonardo Alt
parent
49bde69afa
commit
c5d172c058
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5210: (36-39): Cyclic constant definition (or maximum recursion depth exhausted).
|
||||
// TypeError 5210: (17-44): Cyclic constant definition (or maximum recursion depth exhausted).
|
||||
|
||||
@@ -3,4 +3,4 @@ contract C {
|
||||
uint[L] ids;
|
||||
}
|
||||
// ----
|
||||
// TypeError 3208: (51-52): Array with fractional length specified.
|
||||
// TypeError 5462: (51-52): Invalid array length, expected integer literal or constant expression.
|
||||
|
||||
@@ -5,4 +5,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5210: (37-40): Cyclic constant definition (or maximum recursion depth exhausted).
|
||||
// TypeError 5210: (17-40): Cyclic constant definition (or maximum recursion depth exhausted).
|
||||
|
||||
Reference in New Issue
Block a user