Commit Graph
10663 Commits
Author SHA1 Message Date
Alex Beregszaszi 21e97da294 Deprecate the throw statement 2018-07-16 15:33:20 +02:00
chriseth 931794001e Merge pull request #4500 from ethereum/v050-interface-functions-must-be-external
[BREAKING] interface functions must be external
2018-07-16 14:43:56 +02:00
chriseth 58667db8b8 Merge pull request #4489 from chase1745/use-explicit-data-locations-end-to-end-tests
Added default data locations to parameters for end to end tests.
2018-07-16 14:41:24 +02:00
Chase McDermott f48d01d066 Added default data locations to parameters for end to end tests. 2018-07-16 14:18:16 +02:00
chriseth c5ff173431 Merge pull request #4512 from chase1745/use-explicit-data-locations-external-tests
Added default data locations to docs and other external tests.
2018-07-16 14:04:18 +02:00
chriseth 1a1cff189b Merge pull request #4505 from nventuro/patch-1
Update docs allowed mapping key values
2018-07-16 13:50:31 +02:00
chriseth 236284a264 Merge pull request #4166 from alibabe/fix-3718-ret
Fix the Heisenbug
2018-07-16 13:38:42 +02:00
Christian Parpart 396bf11858 enforce interface-functions to be external-declared
- libsolidity: Enforce interface-functions must be external-declared.
- Changelog adapted to reflect changes wrt. functions in interfaces.
- test: Adjustments according to prior interface-function changes.
- tests: Adapting SolidityEndToEndTest to interface-function change.
- docs: Adapted documentation to interface-function change.
2018-07-16 12:15:36 +02:00
Alex Beregszaszi 98656423be Merge pull request #4511 from MichalZalecki/patch-1
Fix typo in the function name
2018-07-16 09:38:16 +01:00
Chase McDermott 3267adcd14 Added default data locations to docs and other external tests. 2018-07-14 16:42:43 -05:00
Michał Załęcki 7c1672f36e Fix typo in the function name 2018-07-14 18:32:47 +02:00
chriseth 31e56f9f99 Merge pull request #4438 from ethereum/address_members_external_tests_docs
Address members used by contracts: update external tests and docs
2018-07-13 01:28:29 +02:00
chriseth bab4a3975f Merge pull request #4501 from ethereum/recursiveStructsWithFixedArrays
Consider fixed-size arrays when checking for recursive structs.
2018-07-13 01:26:50 +02:00
chriseth 052f19c6b0 Merge pull request #4431 from ethereum/tupleDeclaration
Disallow multi variable declarations with mismatching number of values.
2018-07-13 01:23:28 +02:00
chriseth f0bc1bce89 Merge pull request #4504 from rrrkren/develop
removed addtional solc in docker command
2018-07-13 01:20:59 +02:00
Nicolás Venturo e3339a9684 Update docs allowed mapping key values
Functions cannot be used as mapping keys (e.g. the following contract does not compile):

```
pragma solidity ^0.4.24;

contract Foo {
  mapping(function (uint) pure returns (uint) => string) a;
}
```
2018-07-12 19:58:06 -03:00
Eric Ren 39031e1a96 removed addtional solc in docker command 2018-07-12 15:19:41 -07:00
Daniel Kirchner 62645d5302 Update tests. 2018-07-12 20:33:52 +02:00
Daniel Kirchner 6f383e1626 Update documentation. 2018-07-12 20:33:51 +02:00
Daniel Kirchner d936eebe50 Update Changelog. 2018-07-12 20:33:51 +02:00
Daniel Kirchner fc370591f0 Disallow multi variable declarations with mismatching number of values. 2018-07-12 20:33:51 +02:00
chriseth 1e2a42cfe1 Merge pull request #4503 from nventuro/patch-1
Removed repeated documentation
2018-07-12 20:29:22 +02:00
Nicolás Venturo 910fa3cd7c Removed repeated documentation
There is already a paragraph below describing how to call functions in both their internal and external forms (and IMO it's clearer).
2018-07-12 15:25:42 -03:00
Daniel Kirchner faa55f6544 Add test cases. 2018-07-12 20:14:31 +02:00
Daniel Kirchner f6f8fe6450 Add Changelog entry. 2018-07-12 20:14:30 +02:00
Daniel Kirchner d71a023c0b Use CycleDetector and account for multi-dimensional arrays. 2018-07-12 20:14:02 +02:00
Daniel Kirchner d4dfd28694 Consider fixed size array members when checking for recursive structs. 2018-07-12 20:14:02 +02:00
chriseth 5d8a8f7265 Merge pull request #4437 from ethereum/report-empty-var-decls
[BREAKING] Report empty var tuple decls
2018-07-12 19:22:38 +02:00
chriseth 6dcafac44e Merge pull request #4447 from hosho/develop
Fix NatSpec json output for "@notice" and "@dev" tags on contract definitions
2018-07-12 18:42:30 +02:00
chriseth 81271801b4 Merge pull request #4478 from ethereum/requireStorageLocation
Turn missing storage locations into an error.
2018-07-12 18:00:05 +02:00
Alex Beregszaszi 0dd79bc172 Merge pull request #4479 from ethereum/fixFixedPointCrash
Fix handling of fixed point types in arithmetics.
2018-07-12 15:04:16 +01:00
Matthew Little a0d8459d95 Add changelog bugfix
For fixing NatSpec json output for "@notice" and "@dev" tags on contract definitions.
2018-07-12 14:39:23 +02:00
Matt Little 4efe3544f7 Fix NatSpec json output for "@notice" and "@dev" tags on contract definitions. 2018-07-12 14:39:13 +02:00
Christian Parpart cc585138bc Generates a syntax error when declaring a variable declaration's LHS has no named components 2018-07-12 13:26:52 +02:00
chriseth fa8102880f Merge pull request #4428 from ethereum/enforce_staticcall_view
[BREAKING] Enforce STATICCALL for view and pure
2018-07-12 13:14:02 +02:00
chriseth 576f3ef18c Merge pull request #4083 from ethereum/variable_stack_slot
[BREAKING] Allocate local variables according to their scope
2018-07-12 13:01:15 +02:00
Daniel Kirchner df8bbffd8e Update docs. 2018-07-12 12:54:42 +02:00
Daniel Kirchner aa81ac4456 Update Changelog. 2018-07-12 12:54:42 +02:00
Daniel Kirchner 899efd5e64 Update compilation tests wrt requiring storage locations. 2018-07-12 12:54:42 +02:00
Daniel Kirchner 8b4b8bdbae Update test wrt requiring storage locations. 2018-07-12 12:54:42 +02:00
Leonardo Alt 3ebfcae829 Update external tests and docs 2018-07-12 12:53:49 +02:00
Daniel Kirchner a1f54f4e40 Require storage location. 2018-07-12 12:48:18 +02:00
Alex Beregszaszi c438b73f68 Merge pull request #4493 from ethereum/chriseth-patch-1
Clarify Yul optimiser readme.
2018-07-12 11:09:54 +01:00
chriseth 43ded4702c Clarify optimiser readme. 2018-07-12 12:06:58 +02:00
chriseth ff9974e94c Merge pull request #4488 from chase1745/use-explicit-data-locations-syntax-tests
Added default data locations to parameters for syntax tests.
2018-07-12 11:04:38 +02:00
Chase McDermott fc78b32847 Added default data locations to parameters for syntax tests. 2018-07-11 20:24:50 -05:00
chriseth 71777ce729 Merge pull request #4461 from ethereum/fuzzer-fix
Catch the proper exceptions in solfuzzer
2018-07-12 00:22:38 +02:00
chriseth 99bee7e233 Merge pull request #4443 from ethereum/double_var_decl_fix
Fix crash when declaring the same var twice in the same scope
2018-07-12 00:05:32 +02:00
Alex Beregszaszi b248fc6436 Catch the proper exceptions in solfuzzer 2018-07-11 23:49:14 +02:00
chriseth 2b8091526f Merge pull request #4472 from ethereum/complexCalldataArraysNotYetImplemented
Throw unimplemented exception for complex calldata arrays.
2018-07-11 23:48:42 +02:00