chriseth
b52614116e
Merge pull request #3821 from ethereum/warn-constructor-override
...
Warn constructor override
2018-04-10 11:39:31 +02:00
chriseth
27385d6ded
Merge pull request #3852 from hydai/fix_typo
...
Fixed typos
2018-04-10 10:03:08 +02:00
hydai
aaa8edc36d
Fixed typos
2018-04-10 13:41:35 +08:00
Daniel Kirchner
549ba801fb
Use the most derived contract as main location in case of diamond inheritance.
2018-04-09 16:23:18 +02:00
Daniel Kirchner
b918a105a4
Move constructor argument override check to TypeChecker and reuse annotations in ContractCompiler.
2018-04-09 15:26:08 +02:00
Daniel Kirchner
b8fdb666e2
Allow duplicated constructor calls, if no arguments; support for multiple inheritance; backwards compatibility.
...
# tmp
2018-04-09 15:26:05 +02:00
Federico Bond
4e037281ac
Error on duplicated super constructor calls
2018-04-09 11:22:35 +02:00
chriseth
fe61435c27
Merge pull request #3839 from ethereum/unusedVariableWarningOrder
...
Static Analyzer: Fix non-deterministic order of unused variable warni…
2018-04-06 18:35:21 +02:00
Daniel Kirchner
b2753aa053
Static Analyzer: Fix non-deterministic order of unused variable warnings.
2018-04-06 18:10:26 +02:00
chriseth
12ba3ee082
Merge pull request #3609 from RobbieFerguson/patch-1
...
Update Delegatecall Description in Docs
2018-04-06 16:39:54 +02:00
Robbie Ferguson
49567b3f4c
Update Delegatecall Description in Docs
...
The previous description did not include the fact that the storage locations of the two contracts must align up until the storage variable(s) affected in order for the called contract to successfully write to the caller's storage. If they are misaligned, delegatecall will silently fail. This is difficult to debug without underlying knowledge of how delegatecall works, and clarity in the docs would certainly be helpful.
2018-04-06 16:38:59 +02:00
chriseth
866df15daa
Merge pull request #3832 from ethereum/commonSubexpressionEliminator
...
Common subexpression eliminator.
2018-04-06 15:41:24 +02:00
chriseth
a38418f0d9
Common subexpression eliminator.
2018-04-06 15:16:29 +02:00
chriseth
9bd49516d8
Merge pull request #3833 from ethereum/newEthBinaries
...
Use new eth binaries.
2018-04-06 11:59:27 +02:00
chriseth
309a90bb5d
Merge pull request #3818 from ethereum/eth_docker
...
Add scripts to build the eth binary via docker.
2018-04-05 19:05:41 +02:00
chriseth
3c64313e91
Use new eth binaries.
2018-04-05 19:00:44 +02:00
chriseth
6a2c30e4ff
Fix trusty build script for eth.
2018-04-05 17:45:25 +02:00
chriseth
543e1e19c7
Merge pull request #3831 from ethereum/memory-suffix
...
Allow ``memory`` suffix for internal elementary type parsing.
2018-04-05 17:02:43 +02:00
chriseth
d74b71a554
Merge pull request #3805 from kevinflo/tuple-documentation-var-removal
...
Removed documentation reference to var for tuple variable assignment
2018-04-05 16:19:16 +02:00
chriseth
4c50ed39d7
Merge pull request #3829 from ethereum/smt_remove_uf
...
[SMTChecker] Remove usage of UFs to access SSA vars
2018-04-05 16:07:07 +02:00
chriseth
5b1c0506fa
Allow `memory
` suffix for internal elementary type parsing.
2018-04-05 16:06:04 +02:00
chriseth
95b0589f77
Merge pull request #3828 from ethereum/soltest
...
Show JSON error if jsonParseStrict failed in soltest
2018-04-05 15:22:26 +02:00
chriseth
2d22549f64
Merge pull request #3827 from ethereum/constantinople
...
Support constantinople in soltest
2018-04-05 15:21:45 +02:00
Alex Beregszaszi
e0f8657074
Merge pull request #3826 from ethereum/document_afl
...
Document use of AFL.
2018-04-05 14:47:21 +02:00
Daniel Kirchner
037eba20fc
Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis
...
Error when using empty parentheses for base class constructors that r…
2018-04-05 14:43:28 +02:00
chriseth
251e4cff58
Document use of AFL.
2018-04-05 14:39:55 +02:00
Leonardo Alt
8d087d1889
[SMTChecker] Removing usage of UFs to access SSA indices
2018-04-05 12:48:58 +02:00
Alex Beregszaszi
ac6a30442f
Support constantinople in soltest
2018-04-05 12:11:24 +02:00
Alex Beregszaszi
36d6c27e68
Merge pull request #3745 from ethereum/fixRecursion
...
Fix invalid recursion errors for structs
2018-04-05 12:04:54 +02:00
Alex Beregszaszi
7f232358bb
Show JSON error if jsonParseStrict failed in soltest
2018-04-05 11:59:31 +02:00
chriseth
c6da5c1650
Merge pull request #3822 from ethereum/swap-comparison
...
Replace comparison operators with opposites if preceded by SWAP1
2018-04-05 11:57:26 +02:00
Daniel Kirchner
96eff0ff6a
Error when using empty parenthesis for base class constructors that require arguments.
2018-04-05 11:52:22 +02:00
Alex Beregszaszi
8dc9113e37
Add end-to-end test for SwapComparison and CommutativeSwap peephole optimisers
2018-04-05 10:54:39 +02:00
Alex Beregszaszi
c6adad9368
Merge pull request #3690 from ethereum/incrementArraySize
...
More specific push implementation.
2018-04-05 10:50:25 +02:00
Kevin Florenzano
d662622b25
Variable assignment wording change
2018-04-05 17:12:48 +09:00
chriseth
7cf09941bb
Merge pull request #3657 from ethereum/codingStyle
...
Use coding style.
2018-04-05 10:09:53 +02:00
Alex Beregszaszi
02ea0e547f
Replace comparison operators with opposites if preceded by SWAP1
2018-04-04 17:47:58 +02:00
chriseth
65f18a18de
More specific push implementation.
2018-04-04 16:50:45 +02:00
chriseth
efa0ccaf9e
Merge pull request #3820 from ethereum/chriseth-patch-1
...
Clarify code state of contracts under construction.
2018-04-04 15:16:01 +02:00
chriseth
0f7e18780f
Clarify code state of contracts under construction.
2018-04-04 15:07:29 +02:00
chriseth
016f562348
Merge pull request #3808 from ethereum/parserTests
...
SyntaxTests: extend syntax tests and isoltest to support parser error…
2018-04-04 14:52:01 +02:00
chriseth
2fe5607a5a
Merge pull request #3721 from ethereum/simpleDynArray
...
Create empty dynamic memory arrays more efficiently.
2018-04-04 14:37:43 +02:00
Alex Beregszaszi
c5c5b23ff4
Merge pull request #3817 from ethereum/eth_docker
...
Add scripts to build the eth binary via docker.
2018-04-04 12:39:54 +02:00
chriseth
0cbe55005d
Create empty dynamic memory arrays more efficiently.
2018-04-04 12:37:04 +02:00
chriseth
fa92380af0
Add scripts to build the eth binary via docker.
2018-04-04 12:26:34 +02:00
Alex Beregszaszi
c63efebd45
Merge pull request #3814 from FrolovR/patch-2
...
hash256 -> bytes32 fix in misleading note
2018-04-04 08:16:38 +02:00
Alex Beregszaszi
920de496ab
Merge pull request #3798 from ethereum/commutative-swap
...
Remove useless SWAP1 in front of commutative operations
2018-04-04 08:15:24 +02:00
Roman
86c5d6aaad
hash256 -> bytes32 fix in misleading note
...
As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
2018-04-04 09:02:58 +03:00
Alex Beregszaszi
0695ffe51d
Merge pull request #3635 from ethereum/constructor-modifier
...
Constructors are defined using the ``constructor`` keyword.
2018-04-04 00:15:18 +02:00
Daniel Kirchner
87ad337ae0
Adds parsing sub-directory in syntaxTests and moves two example tests from SolidityParser.cpp to test contracts.
2018-04-03 19:54:46 +02:00