Commit Graph

33 Commits

Author SHA1 Message Date
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
Lefteris Karapetsas
1aa77295e5 State variable accessors code is now more organized
- FunctionDescription is the abstraction of what should describe a
  function. It can either be a VariableDeclaration of a
  FunctionDefinition.

- ParamDescription is what FunctionDescription uses to describe its
  parameters for outside use purposes with a pair of (name, type)
  strings

- Modified code around Solidity and especially interface handler to
  adapt to this change
2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
9e8fa8b08a Tests for variable state accessors are in progress 2015-01-28 21:46:16 +01:00
Gav Wood
dd87fbccd5 Merge pull request #856 from chriseth/sol_modifiers
Function modifiers.
2015-01-26 15:01:25 -08:00
Christian
67073948af Compilation of function modifiers. 2015-01-26 10:23:39 +01:00
Christian
c86a46b84d Type resolution for function modifiers. 2015-01-26 10:23:39 +01:00
Christian
682a45290c Reverse order of inheritance in base list. 2015-01-26 10:20:46 +01:00
Christian
609268ee62 Implicit conversion from derived to base. 2015-01-19 23:35:04 +01:00
Christian
961cb5b90c Call constructors of base classes. 2015-01-19 23:35:04 +01:00
Christian
580d712a67 Check overrides and provide inherited public interface. 2015-01-19 23:35:04 +01:00
Christian
fb41b96bb8 Import inherited members into the contract's scope. 2015-01-19 23:35:04 +01:00
Christian
212a0c5251 Check for hash collisions already before compiling. 2015-01-14 10:16:58 +01:00
Lefteris Karapetsas
deb137f2c4 Small issues with Canonical Function Signature
- Also added an extra test
2015-01-07 10:45:59 +01:00
Lefteris Karapetsas
36e5b5102a Test for the Canonical Signature of a function 2015-01-07 02:07:34 +01:00
Christian
f96578196e Also test non-equality comparison operator. 2014-12-18 17:49:11 +01:00
Christian
f35ee00ca2 Bit operators should bind more strongly than comparison operators. 2014-12-18 17:19:42 +01:00
Lefteris Karapetsas
5dbe2f198c Solidity Tests names are now more consistent
- File names and Boost Test Suite have the same name now for
   every solidity Test, so that there is no need to guess or check
   when you want to run a specific suite from the command line
2014-12-18 15:21:03 +01:00