Erik Kundt
c622a1e56c
Enforces data location of local mappings to storage.
2018-07-23 19:30:07 +02:00
chriseth
b909df4573
Merge pull request #4430 from ethereum/enforceVisibilitySpecifier
...
[BREAKING] Enforce visibility specifier
2018-07-18 12:08:42 +02:00
Erik Kundt
8b827af5bf
Updates changelog to be more specific about visibility enforcement.
2018-07-18 12:03:25 +02:00
Erik Kundt
05d0e5c8fa
Adds comment about reasoning behind syntax test.
2018-07-17 20:06:07 +02:00
Erik Kundt
7d8b39ff4f
Removes obsolete syntax tests.
2018-07-17 19:30:15 +02:00
chriseth
dfd2fee91d
Suggests external for fallback and interface functions.
2018-07-17 18:07:36 +02:00
Erik Kundt
75bba5c9f0
Adjusts tests to expect type errors on default visibility.
2018-07-17 18:03:35 +02:00
Erik Kundt
b5ecfbe5bc
Enforces visibility specifier and updates docs.
2018-07-17 17:44:51 +02:00
Christian Parpart
1d33f41c1a
Merge pull request #4463 from ethereum/isoltest-colors-on-windows
...
isoltest: adds support for properly handling ANSI escape sequences on Windows
2018-07-17 13:08:10 +02:00
Paweł Bylica
56096e9ce8
Merge pull request #4516 from guidovranken/propagate_CMAKE_CXX_FLAGS
...
Do not ignore CMAKE_CXX_FLAGS defined on the command line
2018-07-17 10:39:51 +02:00
Guido Vranken
730a444226
Do not ignore CMAKE_CXX_FLAGS defined on the command line
2018-07-17 00:58:32 +02:00
Alex Beregszaszi
f36cc98c0b
Merge pull request #4515 from nventuro/patch-1
...
Minor doc style fix
2018-07-16 18:28:17 +01:00
Nicolás Venturo
3bf8fb741e
Minor doc style fix
...
An extra newline caused a line to appear in bold.
2018-07-16 14:26:05 -03:00
chriseth
0f23445d84
Merge pull request #4514 from ethereum/errors_period_missing
...
Add missing period in the end of error messages
2018-07-16 18:18:49 +02:00
Leonardo Alt
fdfdddd8dc
Add missing period in the end of error messages
2018-07-16 16:11:39 +01:00
Christian Parpart
05121eebd1
isoltest: adds support for properly handling ANSI escape sequences on Win32/Win64 builds.
2018-07-16 16:34:23 +02:00
chriseth
29dae15c50
Merge pull request #4481 from ethereum/disallow-throw
...
[BREAKING] Deprecate the throw statement
2018-07-16 16:25:22 +02:00
chriseth
b38c26bb0c
Merge pull request #4482 from ethereum/enforceVisibilitySpecifierTests
...
Enforce visibility specifier in tests
2018-07-16 15:46:40 +02:00
Alex Beregszaszi
bdac82ecdb
Replace throw with revert() in compilation tests
2018-07-16 15:33:31 +02:00
Alex Beregszaszi
aa08460d94
Replace throw with revert() in end-to-end tests
2018-07-16 15:33:20 +02:00
Alex Beregszaszi
21e97da294
Deprecate the throw statement
2018-07-16 15:33:20 +02:00
Erik Kundt
ed2aa3b869
Fixes end-to-end tests.
2018-07-16 14:51:46 +02:00
Erik Kundt
70c58b4886
Moves unit test from initial branch.
2018-07-16 14:51:46 +02:00
Erik Kundt
63b6f1532e
Specifies visibility in syntax test.
2018-07-16 14:49:55 +02:00
Erik Kundt
893f4cf092
Specifies visibility in unit tests.
2018-07-16 14:49:55 +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