Gav Wood
e96942c3c7
Solidity STOPs in case of failed call.
10 years ago
arkpar
0698567085
style
10 years ago
Christian
211c37acb8
Removed unused variables.
10 years ago
Liana Husikyan
a545b8a7a4
removed unused member
added some comments for ModifierInvocation::checkTypeRequirements
cleanup
10 years ago
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Lefteris Karapetsas
de6e9f4f54
Using normal pointer in getInheritableMembers()
10 years ago
Lefteris Karapetsas
1681fbd885
getInheritableMembers() does not look at BaseContracts
- Also adding tests for improper accessing members of other contracts.
10 years ago
Lefteris Karapetsas
58005fd203
Use lambda to avoid code duplication in inheritableMembers
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
345e84baea
Adding inheritable members to a contract
10 years ago
Lu Guanqun
6045f1d23a
let the error output take tab into consideration
10 years ago
arkpar
f88bedc20c
basic source level debugging
10 years ago
Christian
96a50b3a23
Array copy storage to storage.
10 years ago
Christian
9252c02a63
Type checks for array assignment.
10 years ago
Christian
43892601e3
Shortening of dynamic arrays.
10 years ago
Gav Wood
154823d791
Fix warnings.
10 years ago
Christian
0d6e69ef53
Stylistic changes.
10 years ago
Christian
21b9bafee2
Removed code duplication.
10 years ago
Christian
a03ead264e
LValue refactoring.
10 years ago
Lefteris Karapetsas
a157ccae4d
Move SourceLocation to evmcore
10 years ago
Lefteris Karapetsas
0a8acbc7db
Tighter coupling for Assembly items retrieval
- Exposing only assembly items, not the entire compiler context
10 years ago
Lefteris Karapetsas
9f85e14ead
LocationSetter in some extra places during Compiling
- Also adjusted the test, and fixed its error reporting
10 years ago
Lefteris Karapetsas
72f9ecd526
Styling changes for SourceLocation and friends
10 years ago
Lefteris Karapetsas
46fd746cd8
Changes after rebase on top of Array Parsing
10 years ago
Lefteris Karapetsas
bc71f71035
Simple Assembly Locations test
- Also adding some helper functions to SourceLocation
10 years ago
Lefteris Karapetsas
45ef19046b
Reset CompilerContext's visited nodes at compile start
10 years ago
Lefteris Karapetsas
f85aee0826
Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
10 years ago
Lefteris Karapetsas
4c6bf04b87
Adding location information to assembly items
- In order to facilitate this addition we also now have a ScopeGuard
object used in the Compiler to set the currently visited node.
10 years ago
Christian
32f0c4f8e6
Out-of-bounds checking.
10 years ago
Christian
de537d5de3
Index and length access for dynamic arrays.
10 years ago
Christian
d1d9b2856a
Implementation of index access.
10 years ago
Christian
20c581c4f8
Activate standard sources by default.
10 years ago
Christian
ccc1d974d1
Comments and warnings.
10 years ago
Christian
1d518d66f2
Renames and comments.
10 years ago
Christian
fba4484151
Replaced "inheritable" by "internal".
10 years ago
Christian
d417618dce
Stack height checks and fix.
10 years ago
Lefteris Karapetsas
11566fd3a0
Adding default value to isLibrary
10 years ago
Christian
92507f5bf0
Allow conversion to dynamic arrays and update grammar.
10 years ago
Lefteris Karapetsas
ca8f786d56
Removing temporary contracts
- They are now added as importable libraries
10 years ago
Lefteris Karapetsas
900f705324
Adding Libraries as source units
10 years ago
Christian
84555b00c9
Index access.
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Liana Husikyan
744ea7ac72
renamed local vaiable in fromDeclaration
added missing endvisit
10 years ago
Liana Husikyan
29290402b4
renamed fromIdentifier to fromStateVariable
10 years ago
Liana Husikyan
d66c448d82
corrected accept for variableDeclaration
changes after code review
10 years ago
Liana Husikyan
0a334cd7db
cosmetic changes
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Gav Wood
4323c987b7
cppcheck fixes.
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