Liana Husikyan
7fe63e36e9
changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
10 years ago
Liana Husikyan
0b14d26f6b
Added anonymous flag to event.
added test
10 years ago
chriseth
2589570d9a
Fix static variables.
10 years ago
chriseth
441ab7c1c0
Add move assignment operator manually.
10 years ago
chriseth
a25d8cd553
Move memberlist to avoid unique_ptr copy.
10 years ago
chriseth
925acfad80
Fetch and store packed values.
10 years ago
chriseth
72152a6081
Compute packing offsets.
10 years ago
chriseth
fed44efdce
Enlarge storage references to two stack slots.
10 years ago
Lefteris Karapetsas
382a587886
Additional test for msg.sig
10 years ago
Liana Husikyan
581cd68fcf
restyleing
removed unnecessary check
10 years ago
Lefteris Karapetsas
22b47689d5
Adding msg.sig Solidity Magic type
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
10 years ago
Liana Husikyan
7359f68b9f
- added more tests to check constant specifier implementation
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
10 years ago
Liana Husikyan
304256b546
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
10 years ago
Liana Husikyan
6f11b6a73f
added parsing for constant variables
10 years ago
chriseth
4d67fe39ac
Fix gas for builtin.
Fixes #1300
10 years ago
Lefteris Karapetsas
5c042e2e59
Small FixedBytes type fixes
- Integer Constant is explicitly convertible to FixedBytes, so using
that in the tests
10 years ago
Lefteris Karapetsas
f488fc4753
Some fixes on Types.cpp for FixedBytesType
10 years ago
Lefteris Karapetsas
98f0d04a94
Style fixes and some additional hash to bytes32 renaming
10 years ago
Lefteris Karapetsas
afc20d2517
Style fixes in Types[cpp/h]
10 years ago
Lefteris Karapetsas
0cd3b15373
byte is now an alias for byte1
10 years ago
Lefteris Karapetsas
9fa08d179b
Fixing byte array index access code generation
10 years ago
Lefteris Karapetsas
d9d792a055
Conversion changes after renaming Hash/String to Bytes.
- Almost all end to end tests pass. Still needs a little bit of work
10 years ago
Lefteris Karapetsas
bb205103c4
Most EndToEndTests are now compliant with the Bytes renaming
10 years ago
Lefteris Karapetsas
9d7ebacabc
Bytes Tokens properly named and NameAndTypeResolution tests work
10 years ago
Lefteris Karapetsas
4700b1b2c8
Fixes after rebasing on top of develop
10 years ago
Lefteris Karapetsas
72f2397ebe
Replacing StaticStringType with FixedBytesType
10 years ago
Lefteris Karapetsas
4340d4867a
More changes towards getting rid of HashXX
10 years ago
Lefteris Karapetsas
440edfd244
start of cleanup
10 years ago
chriseth
ea5bfadcd8
Fixed some checker warnings.
10 years ago
Liana Husikyan
035451db40
added brackets for printing in/out
cleaned up
10 years ago
Liana Husikyan
4323a0c655
added information about jump type for jump instructions
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
10 years ago
chriseth
4f852f473e
Global variable "now" (alias for block.timestamp).
10 years ago
chriseth
fb38209e91
Style fixes.
10 years ago
chriseth
cec5b3b60e
Fixed: Some instructions did not have source locations.
10 years ago
Lu Guanqun
19220b9fe5
fix rebase errors
10 years ago
Lu Guanqun
3eeac6a21b
add the location of a duplicated function
10 years ago
Lu Guanqun
aa68913dd2
make it work for var x = f;
10 years ago
Lu Guanqun
b441305234
remove debug stuff
10 years ago
Lu Guanqun
17f79a5c6e
implement overload resolution
10 years ago
Lu Guanqun
fcc31b7a7f
the contract interfaces should take overloaded function into consideration TODO:
10 years ago
Lu Guanqun
f2da0e249c
enhance DeclarationContainer to use `std::set` so that it can handle overloaded function names
10 years ago
Lu Guanqun
defd6cfa21
mark an identifier as callable if its next token is '('
10 years ago
Gav Wood
3fab9f2a73
Solidity fixes.
10 years ago
chriseth
65ad62ff55
Fixed gas calculation for CALL.
10 years ago
chriseth
b43a37baec
Update Types.h
Typo
10 years ago
chriseth
77b9fdcfbc
Fix type checks for storage variable initializer.
10 years ago
chriseth
8103fcbf98
Fix for arrays containing mappings.
10 years ago
chriseth
9ae0d30dbc
Copying between calldata and storage.
10 years ago
Gav Wood
2cfd93132b
Params & JSON file.
10 years ago
Gav Wood
e2f1bc4133
Add date/time language to solidity.
10 years ago