Lefteris Karapetsas
1681fbd885
getInheritableMembers() does not look at BaseContracts
- Also adding tests for improper accessing members of other contracts.
10 years ago
Lefteris Karapetsas
b1dcc2a77f
VisibleInDerivedContracts() is now virtual()
- Plus an extra test for internal visibility in a base class variable
10 years ago
Lefteris Karapetsas
f2fdeb3599
Add structs to inheritable members
10 years ago
Lefteris Karapetsas
6d48abddd3
Adding test for base class statevar accessors
10 years ago
Christian
9252c02a63
Type checks for array assignment.
10 years ago
Christian
fba4484151
Replaced "inheritable" by "internal".
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Lefteris Karapetsas
952350bec1
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
10 years ago
Christian
27d436a04c
Rename "protected" to "inheritable".
10 years ago
Christian
ed0384b759
No write access to parameters of external functions.
10 years ago
Christian
0185ac5a0d
"external" visibility specifier.
10 years ago
Christian
4b0a566e70
Some changes to enums.
10 years ago
Lefteris Karapetsas
c3c52d59b2
Removing ';' from the end of EnumDefinition
10 years ago
Lefteris Karapetsas
64bba8e3cc
Explicit conversion from int to Enum
10 years ago
Lefteris Karapetsas
c3c1b5c63c
Addressing issues with Enums in Solidity
10 years ago
Lefteris Karapetsas
fc6210e00f
Indentation fixes
10 years ago
Lefteris Karapetsas
5c164fb42c
Enum Value member access should now work properly
- Also detection of duplicate enum values and tests for them have been
added
10 years ago
Lefteris Karapetsas
07886f42bb
Enum type conversion and member value access.
- Added tests for the type conversion part.
- Enum member value access still needs some work
10 years ago
Lefteris Karapetsas
5659ed1238
Correcting and testing enum member access
10 years ago
Lefteris Karapetsas
2dbf739119
Enums NameAndTypeResolution - WIP
- Also adding an EndToEnd enum test
10 years ago
Christian
02f2070ddb
Copying structs.
10 years ago
Lu Guanqun
1372154ff2
small fixes per chris's comments
10 years ago
Lu Guanqun
aabc234e45
add two more exp tests
10 years ago
Liana Husikyan
2fd33d98cc
- 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
10 years ago
Christian
a90ec7576c
Some fixes for the ether units parser.
10 years ago
Lu Guanqun
07ecb2c1f2
disallow declaration of void type
https://www.pivotaltracker.com/n/projects/1189488/stories/86318578
10 years ago
Lu Guanqun
1252ed3b88
add several type error test cases
10 years ago
Lefteris Karapetsas
6c5120978e
Accessors for multiple mappings implemented
10 years ago
Christian
76da204e17
Visibility specifiers.
10 years ago
Lefteris Karapetsas
c6c8a1ceeb
Adding mapping treatment to FunctionType
Plus a TypeResolution test for it
10 years ago
Christian
cc00f49870
Fix scoping of event arguments.
10 years ago
Christian
edefb95aae
Fallback functions.
10 years ago
Christian
d3e2d2adf3
Parsing of events.
10 years ago
Lefteris Karapetsas
93abe45771
FunctionType now returns const ref for Declaration
10 years ago
Lefteris Karapetsas
23d92e0d2e
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
10 years ago
Lefteris Karapetsas
122aada70f
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
10 years ago
Lefteris Karapetsas
51fb3b6f75
No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
10 years ago
Lefteris Karapetsas
2fcfb45760
Various fixes pertaining to State Variable accessors
10 years ago
Lefteris Karapetsas
762aa2d0f3
Function name clashing with Statevariable accessor test
10 years ago
Lefteris Karapetsas
3732d42ce8
Various small fixes for Sol Automatic Accessors
10 years ago
Lefteris Karapetsas
06764f026e
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
10 years ago
Lefteris Karapetsas
2874d43238
Tests for variable state accessors are in progress
10 years ago
Christian
fdf791149d
Compilation of function modifiers.
10 years ago
Christian
2566466a6c
Type resolution for function modifiers.
10 years ago
Christian
6fb537f48c
Reverse order of inheritance in base list.
10 years ago
Christian
0019c53f5c
Implicit conversion from derived to base.
10 years ago
Christian
813af2c4ee
Call constructors of base classes.
10 years ago
Christian
ffead7b4d5
Check overrides and provide inherited public interface.
10 years ago
Christian
feff325023
Import inherited members into the contract's scope.
10 years ago
Christian
e16d88c894
Check for hash collisions already before compiling.
10 years ago