Daniel Kirchner
3f112280f8
Add warning comment to dangling references docs.
2022-06-15 14:52:37 +02:00
Daniel Kirchner
1cb8e17d94
Add documentation section about dangling references.
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-06-15 12:51:24 +02:00
alpharush
93755fcb70
document that pop does not return last element
...
It's already documented for push and this would clarify my incorrect assumption (that pop returns a value as in other languages) that caused confusion with https://github.com/ethereum/solidity/issues/13017
2022-05-13 09:45:55 -05:00
Richie
beb51068bb
fix: corrects _ prefixes
2022-03-14 08:03:10 -07:00
Richie
49f06dacdf
fix: remove lower_case_with_underscores and Capitalized_Words_With_Underscores from code examples
2022-02-21 10:53:35 -08:00
nishant-sachdeva
276851ff91
Added support for FunctionType::Kind::StringConcat and functions string.concat
2022-02-10 22:08:47 +05:30
William Entriken
6bd38aa4ef
Fix signature of pop member
2022-02-05 23:59:09 -05:00
Pranay Reddy
f30130888e
Added specificity to data location.
...
Added the specificity that bytes1[] and bytes differ because of padding only in memory data location. Added extra sentence that they are similar when used in storage data location.
2022-01-03 12:47:51 +05:30
chriseth
62727f322a
Merge pull request #11662 from ethereum/docs-fix-highlighting-and-upgrade-pygments
...
[Docs] Fix highlighting and always use latest packages
2021-07-29 11:29:38 +02:00
t11s
c2dfbbf78c
New note about which data locations are allowed in which function types
...
Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
2021-07-18 15:02:16 -07:00
t11s
61f33c53a0
Remove trailing whitespace
2021-07-18 10:16:51 -07:00
t11s
bc36dbf3b8
Fix extra space
2021-07-18 10:11:18 -07:00
t11s
61e4c29cf8
Update note about calldata
2021-07-18 10:10:07 -07:00
t11s
bb040e40ed
Fix rst syntax
2021-07-17 12:46:58 -07:00
t11s
e7324f660d
Update line about calldata use for external funcs
2021-07-17 12:45:03 -07:00
t11s
616933cd5f
Remove incorrect statement that calldata must be used for external functions
2021-07-16 22:33:48 -07:00
Kamil Śliwak
d8260a1e93
docs: Replace > with >= in pragmas to work around the highligher being unable to process the former
2021-07-15 10:14:00 +02:00
CrimsonGlory
ab5898f11c
RHS->right hand side
2021-07-12 21:18:46 -03:00
Kamil Śliwak
ddccd73a4b
Fix outdated references to byte[]
type (it's now bytes1[]
)
2021-07-08 13:16:23 +02:00
iskanderandrews
a8e9d7a80d
docs/
...
Enhancing all the .rst doc files by adding highlighting for the code snippets, including the following langs:
1. Solidity
2. bash
3. javascript
4. assembly
2021-06-25 12:33:55 +02:00
axeldelamarre
a5d3df532a
Update reference-types.rst
2021-06-10 19:58:11 +02:00
Djordje Mijovic
337adee395
Documenting bytes to fixed bytes conversion.
...
Co-authored-by: chriseth <chris@ethereum.org>
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2021-04-23 13:30:19 +02:00
Feiyang Tan
e36337d74b
Type: strings
2021-04-08 15:21:33 +02:00
Kamil Śliwak
797554668c
docs: Newly allocated arrays are initialized with default values
2021-03-30 14:31:51 +02:00
Djordje Mijovic
8da630f67b
Updating pragma for docs example for bytes concat.
2021-03-25 17:11:39 +01:00
Djordje Mijovic
fd0762b5ef
Documenting bytes.concat.
...
Co-authored-by: chriseth <chris@ethereum.org>
2021-03-24 11:49:21 +01:00
chriseth
9ddb8a6ecf
Clarify array literal documentation.
2021-01-12 11:55:17 +01:00
Alex Beregszaszi
15237c8404
Disable the type byte
2020-12-14 19:18:25 +00:00
chriseth
561280a5cc
Merge remote-tracking branch 'origin/develop' into breaking
2020-12-14 11:33:40 +01:00
Kamil Śliwak
0f6f4314b6
Fix code snippets in docs not passing tests on versions matching their pragmas
2020-12-12 04:52:16 +01:00
chriseth
6de7eaba95
Merge remote-tracking branch 'origin/develop' into breaking
2020-12-01 10:50:13 +01:00
Jaime
34816206a5
docs - add clarification to struct initialization in previous versions
2020-11-28 20:26:54 +00:00
chriseth
5ffee049fa
Merge remote-tracking branch 'origin/develop' into breaking
2020-11-03 14:05:14 +01:00
chriseth
631570c547
Documentation.
2020-11-03 13:31:51 +01:00
chriseth
4bdec8107c
Merge remote-tracking branch 'origin/develop' into HEAD
2020-09-29 09:53:50 +02:00
Harikrishnan Mulackal
8339765509
[DOCS] Change >=0.7.0 to ^0.7.0
2020-09-28 13:02:31 +02:00
Harikrishnan Mulackal
710231e2b1
Docs: change >0.6.99 <0.8.0 to >=0.7.0
2020-09-28 11:14:45 +02:00
Mathias Baumann
b72fb1333b
Adjust docs example to work with v0.8.0
2020-09-08 13:36:16 +02:00
chriseth
c4ba2e1956
Fix pragma in documentation.
2020-07-23 11:28:42 +02:00
chriseth
6bb6783d39
Merge remote-tracking branch 'origin/develop' into breaking
2020-07-22 15:26:44 +02:00
chriseth
c11bb24a51
Add example about array literals.
2020-07-21 13:04:59 +02:00
chriseth
479d7a059f
Documentation.
2020-07-07 12:16:18 +02:00
Harikrishnan Mulackal
eeadb5a6b5
Tests, Docs and Changelog
2020-06-30 16:53:41 +05:30
chriseth
8155ad2187
Merge remote-tracking branch 'origin/develop' into breaking
2020-06-15 17:11:41 +02:00
chriseth
3d115a28fd
Fix documentation example.
2020-06-10 14:06:47 +02:00
chriseth
894478ff8c
Merge pull request #9038 from ethereum/develop
...
Merge develop into breaking.
2020-05-27 15:24:27 +02:00
chriseth
add55fd793
Documentation.
2020-05-26 10:51:13 +02:00
chriseth
74b9b094c0
Merge remote-tracking branch 'origin/develop' into HEAD
2020-05-20 17:22:47 +02:00
Alexander Arlt
af8bb5fb60
Allow natspec comments on state variables.
2020-05-19 11:01:52 -05:00
chriseth
257bc6a416
Merge remote-tracking branch 'origin/develop' into breaking
2020-05-14 13:04:46 +02:00