Commit Graph

190 Commits

Author SHA1 Message Date
Alex Beregszaszi
3ca00c73f9 Update version pragma in all documentation examples 2018-09-25 19:03:25 +01:00
chriseth
b08d49338e
Merge pull request #5022 from ethereum/lastValue
[DOCS] Last part of value types.
2018-09-25 19:45:40 +02:00
chriseth
2032953577
Merge pull request #5025 from ethereum/refTypes
[DOCS] Update reference types.
2018-09-24 13:54:19 +02:00
chriseth
e2baad54c5
Merge pull request #5035 from ethereum/moreTypesUpdates
[DOCS] Final updates to types section.
2018-09-20 21:15:45 +02:00
William Entriken
ea6bb340d4 Document array length changing behaviors, fixes #4802 2018-09-20 20:57:38 +02:00
chriseth
fb8617f059 [DOCS] Update reference types. 2018-09-20 20:51:37 +02:00
chriseth
c43bbd1a68
Merge pull request #5021 from ethereum/moreTypes
More types.
2018-09-20 20:46:27 +02:00
chriseth
3327981108 More types. 2018-09-20 20:44:37 +02:00
chriseth
cb7866916e [DOCS] Final updates to types section. 2018-09-20 14:00:01 +02:00
chriseth
32362f1b38 Last part of value types. 2018-09-19 15:54:30 +02:00
chriseth
b359fb6702 Extend section on addresses. 2018-09-19 14:11:48 +02:00
chriseth
06ffcd0502
Merge pull request #4819 from ethereum/docs-4532-mapping-type
Docs: Clarify mapping type
2018-09-18 14:23:32 +02:00
Chris Ward
20e8f143f6 Clarify mapping type 2018-09-17 19:29:40 +02:00
chriseth
9c13bc73de Some operational semantics. 2018-09-17 19:09:14 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
Daniel Kirchner
db48925907 Add some more documentation. 2018-08-15 17:06:42 +02:00
Daniel Kirchner
4f3f4a916b Extend documentation about explicit and implicit conversions between (u)intXX, bytesYY and literals. 2018-08-14 21:42:01 +02:00
chriseth
e3b6c5a4bd Update documentation. 2018-08-14 18:07:15 +02:00
chriseth
34d3000dcc
Merge pull request #4372 from JesseBusman/implicit-convertibility-functions
Add implicit convertibility to function pointer with higher state mutability
2018-08-14 17:29:16 +02:00
Jesse Busman
c059119145 Add implicit convertibility to function pointer with higher state mutability 2018-08-14 17:13:10 +02:00
chriseth
1dc4978883 Clarify data representation of enums. 2018-08-14 17:06:21 +02:00
chriseth
8a06000a30 Update documentation. 2018-08-14 15:50:46 +02:00
chriseth
6cf299bec6 Update documentation examples. 2018-08-14 15:50:46 +02:00
chriseth
ae8218543b
Merge pull request #4696 from ethereum/byteLiteralConversion
Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
2018-08-13 17:25:30 +02:00
chriseth
463f4b0f35
Merge pull request #4618 from ethereum/docs-1211-contract-type
Add contract type to types documentation
2018-08-13 16:07:29 +02:00
Daniel Kirchner
7d7abeb149 Disallow ambiguous conversions between number literals and bytesXX types. 2018-08-13 14:27:01 +02:00
Chris Ward
631794b72e Update from feedback 2018-08-13 12:34:05 +02:00
gftea
c45de14ba8 add link for text "fallback function" 2018-08-09 15:12:20 +02:00
chriseth
cfc745de05 Change note about returning dynamic arrays. 2018-08-09 00:55:50 +02:00
Christian Parpart
b9222808f6
Cleanup & polish numbers-with-underscores parsing, also improving tests. 2018-08-08 13:38:46 +02:00
Balajiganapathi S
09a36cba02 Add stricter hex underscore rules 2018-08-08 12:05:51 +02:00
Balajiganapathi S
0000bfc604 Allow underscores in numbers. 2018-08-08 12:05:51 +02:00
chriseth
40fbe9b86e
Remove initial sentence. 2018-08-06 15:52:11 +02:00
Chris Ward
22a2f5dd1d Clarify truncation with addresses 2018-08-03 14:09:42 +01:00
Chris Ward
3c919766e8 Changes after rebasing 2018-08-01 14:22:09 +02:00
Chris Ward
a6cb6777c9 Add contract type to types doc 2018-08-01 12:21:47 +01:00
chriseth
b800bfb021 Fix tests regarding contract type conversion. 2018-08-01 11:04:35 +01:00
chriseth
c8232d9759 Disallow conversion between unrelated contract types. 2018-08-01 11:04:35 +01:00
Chris Ward
6c3a2f8e9b Clarify what ‘memory type’ is
Use RST links
2018-07-30 15:48:06 +02:00
Erik Kundt
b5ecfbe5bc Enforces visibility specifier and updates docs. 2018-07-17 17:44:51 +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
Chase McDermott
3267adcd14 Added default data locations to docs and other external tests. 2018-07-14 16:42:43 -05: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
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
f7153ee58a Update documentation. 2018-07-03 15:31:34 +02:00
Christian Parpart
133fbdbf18 documentation: adjustments to not use the "var" keyword 2018-07-03 10:53:09 +02:00
chriseth
17493e64ed Documentation. 2018-06-25 17:17:18 +02:00
Daniel Kirchner
f33dc92cbd Use proper SAR for signed right shifts and emulate on pre-constantinople. 2018-06-12 09:32:19 +01:00
chriseth
d004948929
Merge pull request #4201 from wjmelements/bytes-complex-type
move bytes and string to arrays section
2018-06-04 19:02:00 +02:00
William Morriss
78b8baede7 keep stub in value types section, and move discussion to Arrays section 2018-05-30 10:34:01 -07:00