chriseth
9524ca5e31
Utility class to find a suitable AST node for a given location.
10 years ago
chriseth
7a5d5b3af3
Fix for deleting byte array elements.
Fixes #1759 .
10 years ago
chriseth
f6b337806a
Provide a way to override default visitor function in a generic way.
10 years ago
chriseth
220fc130bd
Removed visit functions for abstract AST nodes.
10 years ago
Liana Husikyan
bd693e4ca8
saved returnParameterNames in FunctionType constructor
10 years ago
Liana Husikyan
e612ddeafe
changed the test so constructor will have input parameters
10 years ago
Liana Husikyan
376201c781
removed an unnecessary function
10 years ago
Liana Husikyan
8fe9d0a335
changed the implementation
10 years ago
Liana Husikyan
b2b723400a
style fix
10 years ago
Liana Husikyan
f2502b01f7
fixed the output of the test
10 years ago
chriseth
a895217db6
Use BUILD_SHARED_LIB
10 years ago
chriseth
cdc38ab28a
Use non-implemented functions for solidity interface output.
10 years ago
chriseth
0a95634543
Fix regarding memory overwrite during sha3 computation.
10 years ago
chriseth
e480c7012c
bytes parameters for events and sha3.
10 years ago
chriseth
49134ece7a
Fixed use of libraries.
10 years ago
Christian
7971f5e83d
JSON compiler.
10 years ago
chriseth
8dc135468e
Fix for declarations.
10 years ago
chriseth
3146a7aeb7
Fix for Contract and Enum types as external function arguments.
10 years ago
chriseth
7386869de6
Fixed byte alignment for return type of ripemd160 built-in contract.
10 years ago
chriseth
46182cd82f
Styling.
10 years ago
Liana Husikyan
254c845490
removed unused parameter from streamAsmJson
10 years ago
Liana Husikyan
4ef9b70dd3
style fixes
10 years ago
Liana Husikyan
2a5a5a99f9
added asm-json flag to cl compiler
Conflicts:
libsolidity/CompilerStack.cpp
10 years ago
Lefteris Karapetsas
cad916a00d
Fixing detection of abstract contract
10 years ago
Lefteris Karapetsas
5be5fc55a0
Adding forgotten virtual specifier to EnumValue getType()
10 years ago
Lefteris Karapetsas
86caafd9e9
Add "this" contract's ctor to provided ctors set
- Also properly naming the 2 sets in checkAbstractConstructors() function
10 years ago
Lefteris Karapetsas
3a2d903252
Fixing new abstract contract error location reporting
10 years ago
Lefteris Karapetsas
c227951856
size()!=0 -> !empty()
10 years ago
Lefteris Karapetsas
2279e40274
Check all constructors in inheritance chain get args
- Also add a missing override in a function of EnumValue
10 years ago
Lefteris Karapetsas
45117f53b0
Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its
arguments
- IF a contract is abstract make sure to not create and/or request
Assembly code about it since it's not compiled
10 years ago
chriseth
1df385a63d
Fix for signed integers in storage.
10 years ago
chriseth
3bc78361d6
Bugfixes concerning variable declarations.
Fixes #1637
10 years ago
chriseth
a052d2f754
Line break.
10 years ago
chriseth
0bec8d9fcd
Some cleanup concerning byte arrays.
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
Liana Husikyan
2cf5fdcadf
fixes
added more tests
10 years ago
Liana Husikyan
46eb3f366b
added implementation to append code for State variable accessor
fixed tests
10 years ago
Liana Husikyan
518daee546
some more tests
10 years ago
Liana Husikyan
561e461ded
added createing FunctionType from ArrayType VariableDeclaration
added test
10 years ago
chriseth
cc5c8f2678
SHA3 optimizations.
10 years ago
chriseth
b5e81a46ca
Retain more gas for the case that the called contract is not yet created.
10 years ago
Liana Husikyan
065d9a9e68
VariableDeclaration::checkTypeRequirements() refactoring
10 years ago
Liana Husikyan
ab0b92242f
Update Types.cpp
10 years ago
Liana Husikyan
c5df9e205b
Update AST.cpp
10 years ago
Liana Husikyan
f4ea6b8e8d
Update Types.h
10 years ago
Liana Husikyan
4352423fea
miner changes in the implementation of the externalTypes function of FunctionType.
better error messages for exeptions
style fixes after review
10 years ago
Liana Husikyan
4173a71846
changed checking for external type in VariableDeclaration::checkTypeRequirements()
changed error msg
10 years ago
Liana Husikyan
0e247e0282
style fixes
10 years ago
chriseth
ae6bae4a6c
Refactor: Pull out array index access.
10 years ago
Lefteris Karapetsas
29669c16a2
Fix some styling issues and remove comments
10 years ago