Lefteris Karapetsas
1bb7f3cbc3
Small FixedBytes type fixes
...
- Integer Constant is explicitly convertible to FixedBytes, so using
that in the tests
2015-03-12 17:31:39 +01:00
Lefteris Karapetsas
f3fc870e03
byte is now an alias for byte1
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
5abf18c27f
Most EndToEndTests are now compliant with the Bytes renaming
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
c72197a453
Bytes Tokens properly named and NameAndTypeResolution tests work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
4cd659c51d
NameAndtypeResolution tests use ETH_TEST macros
2015-03-06 14:37:20 +01:00
chriseth
1234526c93
Fix type checks for storage variable initializer.
2015-03-06 13:47:32 +01:00
chriseth
d0e535d014
Merge pull request #1146 from LefterisJP/sol_fixBaseClassAccessors
...
Sol fix accessing public variable of base class
2015-03-02 12:59:12 +01:00
Lefteris Karapetsas
447320a91d
getInheritableMembers() does not look at BaseContracts
...
- Also adding tests for improper accessing members of other contracts.
2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
03bc87031e
VisibleInDerivedContracts() is now virtual()
...
- Plus an extra test for internal visibility in a base class variable
2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
285a376248
Add structs to inheritable members
2015-03-02 11:51:13 +01:00
Lefteris Karapetsas
41f9399a32
Adding test for base class statevar accessors
2015-03-02 11:51:13 +01:00
Christian
e42183f2ff
Type checks for array assignment.
2015-02-27 22:52:19 +01:00
Gav Wood
55cb6e31f5
Merge pull request #1100 from chriseth/sol_arrays
...
Parsing support for arrays.
2015-02-23 15:19:07 +01:00
Christian
c8d4ab1ca0
Replaced "inheritable" by "internal".
2015-02-22 19:37:54 +01:00
Christian
c8cec8d0b3
Parsing of array types and basic implementation.
2015-02-21 15:10:01 +01:00
Lefteris Karapetsas
0398ef109c
Bugfix for functions override
...
- Functions with byte array type parameters can now be safely
overriden. Parameter location is now set at the right place.
- Also made a test for the fix
2015-02-19 17:43:53 +01:00
Christian
a26d72472d
Rename "protected" to "inheritable".
2015-02-18 13:35:12 +01:00
Christian
8290b6305b
No write access to parameters of external functions.
2015-02-16 19:25:24 +01:00
Christian
7dd200d140
"external" visibility specifier.
2015-02-16 19:24:07 +01:00
Christian
31425a1fc0
Some changes to enums.
2015-02-14 13:35:57 +01:00
Lefteris Karapetsas
9836d58df8
Removing ';' from the end of EnumDefinition
2015-02-13 23:48:50 +01:00
Lefteris Karapetsas
8e9a9ad5e9
Explicit conversion from int to Enum
2015-02-13 23:16:15 +01:00
Lefteris Karapetsas
9dedbb4154
Addressing issues with Enums in Solidity
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
afc328210e
Indentation fixes
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
3dd00cbdd8
Enum Value member access should now work properly
...
- Also detection of duplicate enum values and tests for them have been
added
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
fe725fbb49
Enum type conversion and member value access.
...
- Added tests for the type conversion part.
- Enum member value access still needs some work
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
d8535eb4ea
Correcting and testing enum member access
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
60e839954e
Enums NameAndTypeResolution - WIP
...
- Also adding an EndToEnd enum test
2015-02-13 23:16:14 +01:00
Christian
48f6bda44b
Copying structs.
2015-02-12 20:19:49 +01:00
Lu Guanqun
466f0e0100
small fixes per chris's comments
2015-02-10 23:39:13 +08:00
Lu Guanqun
2f15494f83
add two more exp tests
2015-02-10 23:39:13 +08:00
Liana Husikyan
12505a5b76
- implemented Empty parameter name story. Now the name of input/return parameters of function can be not specified.
...
- added appropriate tests
Conflicts:
test/SolidityEndToEndTest.cpp
test/SolidityNameAndTypeResolution.cpp
2015-02-09 02:06:30 +01:00
Christian
5bedf7f816
Some fixes for the ether units parser.
2015-02-06 13:38:29 +01:00
Lu Guanqun
bd41622341
disallow declaration of void type
...
https://www.pivotaltracker.com/n/projects/1189488/stories/86318578
2015-02-06 07:49:05 +08:00
Lu Guanqun
7eece799f2
add several type error test cases
2015-02-05 01:01:41 +08:00
Gav Wood
d5b2f8a2ce
Merge branch 'sol_visibility' of https://github.com/chriseth/cpp-ethereum into chriseth-sol_visibility
...
Conflicts:
test/SolidityNameAndTypeResolution.cpp
2015-02-03 08:50:39 -08:00
Lefteris Karapetsas
3b0ca66cd2
Accessors for multiple mappings implemented
2015-02-02 17:52:50 +01:00
Christian
a38b8890bd
Visibility specifiers.
2015-02-02 17:24:09 +01:00
Lefteris Karapetsas
c742c09ae6
Adding mapping treatment to FunctionType
...
Plus a TypeResolution test for it
2015-02-01 00:20:35 +01:00
Christian
bf5f476a83
Fix scoping of event arguments.
2015-01-31 16:50:33 +01:00
Gav Wood
b1043c8651
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
...
Conflicts:
test/SolidityEndToEndTest.cpp
test/SolidityNameAndTypeResolution.cpp
test/SolidityParser.cpp
2015-01-29 16:05:17 -08:00
Christian
a55a99a2b0
Fallback functions.
2015-01-29 22:50:20 +01:00
Christian
a86a3a2452
Parsing of events.
2015-01-29 21:26:11 +01:00
Lefteris Karapetsas
5da76a3bbd
FunctionType now returns const ref for Declaration
2015-01-29 19:18:50 +01:00
Lefteris Karapetsas
866bd01bef
Removing Function and Param Description
...
- Removing FunctionDescription and ParamDescription. All the data should
now be in the FunctionType
- Plus using the FunctionTypePointer alias in a few places
2015-01-29 17:12:17 +01:00
Lefteris Karapetsas
e77fc5c7e0
Contract Interface Functions now return FunctionType
...
- Enchanced Function Type by declaration so that it can provide all the
required information at each place interface functions are consumed
- Changed all places where interface functions was used.
- Simplified Mix's FunctionDefinition code
2015-01-29 17:11:13 +01:00
Lefteris Karapetsas
bdb4462673
No longer exposing retrieveValueFromStorage() as a public function
...
- plus small fix in EndToEndTests
2015-01-29 13:34:07 +01:00
Lefteris Karapetsas
4e67aa413e
Various fixes pertaining to State Variable accessors
2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
18eeee536d
Function name clashing with Statevariable accessor test
2015-01-28 21:46:17 +01:00
Lefteris Karapetsas
cc906541f6
Various small fixes for Sol Automatic Accessors
2015-01-28 21:46:16 +01:00