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
Lefteris Karapetsas
48080e0415
Small issues with Canonical Function Signature
- Also added an extra test
10 years ago
Lefteris Karapetsas
0c83932d91
Test for the Canonical Signature of a function
10 years ago
Christian
ae994f2804
Also test non-equality comparison operator.
10 years ago
Christian
d14ed2d4dc
Bit operators should bind more strongly than comparison operators.
10 years ago
Lefteris Karapetsas
8edb5b8b54
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
10 years ago
Christian
41948b1309
Fix: Resolve function types of all contracts before checking types inside functions.
10 years ago
Christian
a3473ad88d
Check that constructor does not have "returns" directive.
10 years ago
Christian
37a15d96ea
Support empty strings.
10 years ago
Christian
0a4ed44679
Tests for empty and too long strings.
10 years ago
Christian
ddb5111d3e
Comments and braces.
10 years ago
Christian
50b61e3dd3
Multi-source and multi-contract compiler.
10 years ago
Christian
8621949067
Import directive.
10 years ago
Christian
a2aa117a6b
Disallow assignments to structs and mappings.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Christian
bbc3a1b37e
Struct types.
10 years ago
Christian
2ece1f28bc
Tests for type conversion at comparison.
10 years ago
Christian
c6c7f86b82
Further const placement changes.
10 years ago
Christian
fa22722e0e
Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
df43644111
Some fixes for the type system, should be quite usable now.
10 years ago