Denton Liu
ff26ea6c08
Added space to example code
2016-05-18 11:35:32 -04:00
Denton Liu
d4ad3231a2
Removed trailing whitespace
2016-05-18 11:35:32 -04:00
Denton Liu
4b9e9cad56
Added an extra necessary linebreak
2016-05-18 11:35:32 -04:00
Denton Liu
18fb63167b
Removed trailing whitespace
2016-05-18 11:35:28 -04:00
Denton Liu
d70ae38e92
Fixed table formatting
2016-05-18 11:23:48 -04:00
Denton Liu
51fe1bd9c2
Replaced tabs with spaces
2016-05-18 11:23:48 -04:00
Denton Liu
d6f05a6d36
Increased clarity of assembly statement
2016-05-18 11:23:48 -04:00
Denton Liu
14bd009eb6
Corrected spacing to four spaces
2016-05-18 11:23:47 -04:00
Denton Liu
bdb48b8567
Removed trailing space
2016-05-18 11:23:47 -04:00
Denton Liu
bb62a8b3fd
Replaced all tabs with spaces
2016-05-18 11:23:47 -04:00
Denton Liu
8bbe99ad11
More code-style corrections
2016-05-18 11:23:47 -04:00
chriseth
0a37072e4c
Merge pull request #572 from Melvillian/fix-example-contract-abi
...
fix example solidity contract code by adding argument to constructor
2016-05-18 00:39:47 +02:00
chriseth
775b757d0e
Merge pull request #545 from chriseth/accessFunLabels
...
Allow access to functions in inline assembly.
2016-05-17 23:59:13 +02:00
chriseth
e28604f0b0
Typo
2016-05-17 17:05:03 +02:00
chriseth
5bf059dc2a
Merge pull request #501 from VoR0220/quitIfNoArguments
...
Make solc quit if no arguments are supplied to the compiler.
2016-05-17 17:02:51 +02:00
Paweł Bylica
77f3a85441
Merge pull request #566 from ethereum/msvc2015
...
Suppress a warning in LLL parser on MSVC 2015
2016-05-17 14:27:39 +02:00
Bob Summerwill
c1995e9dbb
Merge pull request #575 from moneroexamples/fix_call_of_overloaded_gcc61
...
fix: error: call of overloaded ‘list(int, <brace-enclosed initializer…
2016-05-17 00:25:15 -07:00
moneroexample
9d237fbfdc
fix: error: call of overloaded ‘list(int, <brace-enclosed initializer list>)’
...
Issue: https://github.com/ethereum/solidity/issues/574
Compilation of webthree-umbrella on Arch with gcc 6.1 results in the following
error:
/home/mwo/webthree-umbrella/solidity/libsolidity/analysis/NameAndTypeResolver.cpp:299:51: error: call of overloaded ‘list(int, <brace-enclosed initializer list>)’ is ambiguous
list<list<ContractDefinition const*>> input(1, {});
This can be overcome by explicitly specifying initial value, for example:
list<list<ContractDefinition const*>> input(1, list<ContractDefinition const*>{})
2016-05-17 13:27:39 +08:00
Alex Melville
38940ddfa5
fix example solidity contract code by adding argument to constructor
2016-05-15 17:16:44 -07:00
chriseth
4b445b898e
Merge pull request #546 from chriseth/fixiszero
...
Correctly use not/bnot/iszero.
2016-05-14 00:58:55 +02:00
VoR0220
fb89e69061
much better and simpler way of handling this
2016-05-13 13:51:41 -05:00
chriseth
902f1458c6
Merge pull request #543 from raineorshine/patch-1
...
Add this.balance and this.send to units-and-global-variables.rst
2016-05-13 19:31:44 +02:00
Paweł Bylica
ca6a21bcd3
Suppress a warning in LLL parser on MSVC 2015
2016-05-13 15:38:23 +02:00
chriseth
c06051d38d
Merge pull request #557 from Denton-L/scoping
...
Added Section about Scoping Behaviours
2016-05-12 23:07:52 +02:00
Denton Liu
20cec07b46
Removed unnecessary period
2016-05-12 13:25:00 -04:00
Denton Liu
7b6fd013a4
Added origin of scoping rules
2016-05-12 09:59:29 -04:00
Denton Liu
50eb3b8f8f
Moved comment to more logical place
2016-05-12 09:49:49 -04:00
Denton Liu
e60a17379e
Removed trailing spaces
2016-05-12 09:48:56 -04:00
chriseth
73ede5bb38
Merge pull request #552 from mario02423/patch-1
...
Update style-guide.rst
2016-05-12 12:40:13 +02:00
chriseth
67ca3bb4b9
Allow access to functions in inline assembly.
2016-05-12 12:30:48 +02:00
chriseth
1ab0f25dff
Merge pull request #402 from VoR0220/fixedDataType
...
Fixed Type initial PR
2016-05-12 12:30:10 +02:00
Denton Liu
52a8d7b3f5
Added content
2016-05-11 17:07:25 -04:00
Denton Liu
08b7d4aebe
Changed the title
2016-05-11 17:02:28 -04:00
Denton Liu
ef56723060
Created scoping section
2016-05-11 15:47:05 -04:00
Denton Liu
b6fd6ddc99
Change whitespace section to include exception
...
For single-line functions, some whitespace padding
makes the functions slightly more readable.
2016-05-11 15:16:18 -04:00
Denton Liu
d4125c4f07
Changed do_something to doSomething
...
This is in accordance to the style guide
2016-05-11 15:16:18 -04:00
chriseth
d4206b7cd0
Remove unused tests and add asserts for not implemented parts in code generation.
...
quick fix on christian's rational
change so that ubuntu will stop yelling
be more specific with rational declaration for Windows sake
rational in namespace correction for windows
2016-05-10 16:03:33 -05:00
chriseth
656405240e
Simplify interface of RationalNumber.
2016-05-10 19:40:37 +02:00
chriseth
cf226f0607
Special case for moving sign bit to fractional part.
2016-05-10 19:40:37 +02:00
chriseth
02e1c9be0d
Cleanup.
2016-05-10 19:40:37 +02:00
chriseth
4dfe9a216c
Disallow explicit fixed->enum, but allow bytes->fixed.
2016-05-10 19:40:37 +02:00
chriseth
ef7049f9a6
Some cleanup.
2016-05-10 19:40:37 +02:00
chriseth
22318c0c1a
Replace "unsigned int" by "unsigned".
2016-05-10 19:40:37 +02:00
chriseth
80c368dac1
Prefer mobileType() to check rational range.
2016-05-10 19:40:35 +02:00
chriseth
af354d7555
Correctly handle unexpected exceptions during tests.
2016-05-10 19:33:30 +02:00
mario02423
873c54106c
Update style-guide.rst
...
Removed extraneous comma from line 366
2016-05-09 15:42:57 -05:00
VoR0220
a6fc3c8f30
reorganized tests and fixed mobile types and implicit conversions of rationals and fixed point types
...
one final tweak
check for null types
2016-05-09 11:41:03 -05:00
VoR0220
bfc238c8d1
updated algorithm for bit finding...now to figure out literal value
...
tiny fixups
changed location of the check
got rid of extra space and fixed a couple of things
added binary results bits
change back literal value
2016-05-09 11:41:03 -05:00
VoR0220
5bddb2d6ff
changed algorithm for finding bits
2016-05-09 11:41:03 -05:00
VoR0220
4b3e1f140c
much better way of doing modulus
2016-05-09 11:41:03 -05:00