aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
Commit message (Collapse)AuthorAgeFilesLines
...
* [cond-expr] add test cases for type resolutionLu Guanqun2016-01-231-0/+24
|
* [cond-expr] add end to end testLu Guanqun2016-01-231-0/+58
|
* [cond-expr] add parser test casesLu Guanqun2016-01-231-0/+80
|
* Merge pull request #356 from guanqun/break-not-in-loopchriseth2016-01-212-12/+46
|\ | | | | check whether break/continue is in the loop
| * add another test case for continue not in loopLu Guanqun2016-01-191-0/+15
| |
| * check whether break/continue is in the loopLu Guanqun2016-01-152-12/+31
| |
* | Merge pull request #358 from chriseth/fix_storagechriseth2016-01-181-0/+21
|\ \ | | | | | | Test for incorrect storage access.
| * | Test for incorrect storage access.chriseth2016-01-161-0/+21
| | |
* | | Merge pull request #347 from chriseth/libraryNameClasheschriseth2016-01-181-0/+16
|\ \ \ | | | | | | | | Detect library name clashes
| * | | Tests for library name clashes.chriseth2016-01-141-0/+16
| |/ /
* | | Update SolidityNameAndTypeResolution.cppLiana Husikyan2016-01-161-1/+0
| | |
* | | Update SolidityNameAndTypeResolution.cppLiana Husikyan2016-01-161-1/+0
| | |
* | | fixed assert on EI creation for structs containing only mapping or arraysLianaHus2016-01-161-0/+13
|/ /
* | Merge pull request #346 from chriseth/importAliaseschriseth2016-01-141-0/+25
|\ \ | |/ |/| Allow aliases during import.
| * Allow aliases during import.chriseth2016-01-111-0/+25
| |
* | clarification on dynamic arrays, switcheroo on typepointer, and a ↵RJ Catalano2016-01-122-2/+19
| | | | | | | | documentation test added
* | added documentation and one last test for struct creation inlineRJ Catalano2016-01-121-0/+16
| |
* | final changes to typechecker, the expression compiler, and a couple more ↵RJ Catalano2016-01-121-0/+25
| | | | | | | | tests for good measure
* | one last test for long stringsRJ Catalano2016-01-111-0/+15
| |
* | Update SolidityNameAndTypeResolution.cppRJ2016-01-111-1/+0
| |
* | Update SolidityEndToEndTest.cppRJ2016-01-111-7/+18
| |
* | Update SolidityEndToEndTest.cppRJ2016-01-101-0/+70
| |
* | Update with type resolution tests for arraysRJ2016-01-101-8/+76
|/
* Merge pull request #338 from guanqun/add_parenchriseth2016-01-052-0/+16
|\ | | | | support syntax "(x) = 3"
| * add a test case for decayed tuple expression as left valueLu Guanqun2016-01-042-0/+16
| |
* | Merge pull request #317 from chriseth/pathsEverywherechriseth2016-01-041-1/+1
|\ \ | |/ |/| Use paths instead of simple identifiers wherever possible.
| * Use paths instead of simple identifiers wherever possible.chriseth2015-12-221-1/+1
| |
* | Merge pull request #308 from chriseth/fixoverloadbugchriseth2015-12-211-0/+11
|\ \ | | | | | | Fix bug preventing overloads of different array types.
| * | Fix bug preventing overloads of different array types.chriseth2015-12-181-0/+11
| |/
* / Add structs and enums to contract types.chriseth2015-12-182-0/+30
|/
* Simple aliasing during import.chriseth2015-12-181-0/+8
|
* Parse complex import directives.chriseth2015-12-181-0/+21
|
* updated tests and much simpler algorithm for parsing errorsRJ Catalano2015-12-171-21/+8
|
* added one more test and realized that there was one last change before the ↵RJ Catalano2015-12-171-5/+32
| | | | parser is perfect
* forgot about this one...again making this purely about ↵RJ Catalano2015-12-171-2/+2
| | | | parsing...typechecking will come another day
* making this purely about parsing...type checking will go in a different PRRJ Catalano2015-12-171-2/+2
|
* changed a couple of small nuances, made an attempt at fixing the parsing in ↵RJ Catalano2015-12-171-6/+20
| | | | the inline arrays case (fails), and added test for inline arrays per Chriseth request
* new testsRJ Catalano2015-12-161-0/+26
|
* updated attempt, a couple of more things to sort through and changeRJ Catalano2015-12-161-0/+14
|
* Relative paths in import directives.chriseth2015-12-101-0/+17
|
* Source units are independent scopes.chriseth2015-12-102-9/+99
|
* Increment version to 0.2.0 (includes breaking changes).chriseth2015-12-011-1/+1
|
* Code generation for calling bound methods.chriseth2015-12-011-0/+120
|
* Merge pull request #251 from chriseth/bind2chriseth2015-11-302-0/+175
|\ | | | | Bind library functions to types.
| * Also check the object type for bound functions.chriseth2015-11-291-0/+45
| |
| * Add bound functions to types.chriseth2015-11-291-0/+93
| |
| * Added the `using x for y` directive.chriseth2015-11-272-0/+37
| |
* | Merge pull request #256 from chriseth/selfdestructchriseth2015-11-301-0/+16
|\ \ | | | | | | Introduce selfdestruct alias for suicide.
| * | Introduce selfdestruct alias for suicide.chriseth2015-11-291-0/+16
| |/
* / Bugfix for constructor unpacking with fixed-size arrays.chriseth2015-11-291-0/+17
|/
* Fix smart pointer lifetime issue in tests.chriseth2015-11-261-16/+15
|
* Do not store elements of a contract by AST node type.chriseth2015-11-261-8/+8
|
* Code generation for creating arrays.chriseth2015-11-261-0/+44
|
* Type checking for creating new arrays.chriseth2015-11-261-1/+37
|
* Allow "new expressions" also for general type names.chriseth2015-11-262-1/+19
| | | | | | | Breaking change: If you want to send value with a contract creation, you have to use parentheses now: `(new ContractName).value(2 ether)(arg1, arg2)`
* Test for allocation bug.chriseth2015-11-241-0/+31
|
* Merge pull request #236 from ethereum/hot_gavGav Wood2015-11-231-1/+3
|\ | | | | Fix up for new API from EIP-1.1.
| * Fix up for new API from EIP-1.1.Gav Wood2015-11-211-1/+3
| |
* | Merge remote-tracking branch 'origin/hot_gav' into developGav Wood2015-11-201-1/+5
|\|
| * Fix solidity tests.Gav Wood2015-11-201-1/+5
| |
* | Merge pull request #227 from chriseth/addmodchriseth2015-11-191-0/+18
|\ \ | | | | | | Addmod and mulmod.
| * | Addmod and mulmod.chriseth2015-11-191-0/+18
| | |
* | | Merge pull request #204 from ethereum/hot_gavGav Wood2015-11-192-2/+3
|\ \ \ | |/ / |/| / | |/ The Big Refactor
| * Fix tests for new API.Gav Wood2015-11-171-1/+1
| |
| * Fixups for new API.Gav Wood2015-11-061-1/+2
| |
| * New vocab.Gav Wood2015-11-061-1/+1
| |
* | Merge pull request #218 from chriseth/fix_overwriteMemorychriseth2015-11-171-0/+15
|\ \ | | | | | | Fix memory overwrite problem for arrays.
| * | Fix memory overwrite problem for arrays.chriseth2015-11-171-0/+15
| | |
* | | Merge pull request #216 from chriseth/dynamic_indexed_event_argschriseth2015-11-171-0/+35
|\ \ \ | | | | | | | | Fix dynamic indexed event arguments - applies sha3.
| * | | Fix dynamic indexed event arguments - applies sha3.chriseth2015-11-171-0/+35
| |/ /
* | | Merge pull request #214 from chriseth/fix_optimizerTestchriseth2015-11-171-1/+5
|\ \ \ | | | | | | | | Test fix: Do not increment iterator past end.
| * | | Test fix: Do not increment iterator past end.chriseth2015-11-161-1/+5
| |/ /
* / / Fix segfault during test.chriseth2015-11-161-1/+1
|/ /
* | Work around bug in MSVC/Boost for u256->unsigned conversion.chriseth2015-11-161-0/+10
| |
* | style fixesLianaHus2015-11-071-2/+2
| |
* | fixed test frameworkLianaHus2015-11-071-17/+20
|/
* Bugfix: Returning literal strings in tuples.chriseth2015-11-011-0/+20
|
* Store docstrings in AST annotations.chriseth2015-10-263-48/+31
|
* File reorganisation.chriseth2015-10-2112-35/+35
|
* Correctly parse ambiguities like `A.B[10] x` and `x.y[10] = 3`.chriseth2015-10-162-0/+39
|
* Fix errors when struct array type is used on its own.chriseth2015-10-161-0/+15
|
* Some fixes taking other pull requests into account.chriseth2015-10-162-9/+5
|
* Wildcards.chriseth2015-10-151-3/+6
|
* Destructuring assignments.chriseth2015-10-151-5/+42
|
* Tuple expressions.chriseth2015-10-153-1/+98
|
* Merge pull request #130 from LefterisJP/dynamic_array_pushchriseth2015-10-151-0/+40
|\ | | | | Dynamic array push
| * push() for byte arrays also properly implementedLefteris Karapetsas2015-10-151-9/+10
| |
| * Working implementation of arraypushLefteris Karapetsas2015-10-151-2/+21
| | | | | | | | | | ByteArrayPush() gets a test but is ignored for now, since there are still some issues with its implementation
| * Implement Dynamic array push and fix testLefteris Karapetsas2015-10-151-4/+7
| | | | | | | | | | Still a work in progress. There is a disturbance in the stack at the moment and that's why there are some cout statements left for debugging.
| * Add a dynamic array push() testLefteris Karapetsas2015-10-151-0/+17
| |
* | renaming in test frameworkLianaHus2015-10-151-195/+195
| |
* | some more style fixesLianaHus2015-10-152-6/+6
| |
* | mainly style fixes/renamingLianaHus2015-10-152-82/+92
| |
* | fixLianaHus2015-10-151-2/+0
| |
* | fixed new testsLianaHus2015-10-152-23/+15
| |
* | errors instead of exceptionsLianaHus2015-10-157-250/+313
| | | | | | | | | | | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/NameAndTypeResolver.cpp libsolidity/NameAndTypeResolver.h libsolidity/TypeChecker.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp
* | added Error class for all kind of errorsLianaHus2015-10-152-5/+10
|/ | | | | Conflicts: libsolidity/Exceptions.h
* Some further test fixes.chriseth2015-10-131-1/+2
|
* Some more tests and typos fixed.chriseth2015-10-132-0/+27
|
* Multi-variable declarations.chriseth2015-10-132-12/+59
|
* Introduced tuple type and added multi variable declarations to typechriseth2015-10-102-2/+14
| | | | checker.
* Tests for multi variable declaration.chriseth2015-10-093-0/+50
|
* Check invalid integer constants for functions accepting arbitrary arguments.chriseth2015-10-081-2/+13
|
* Resolve binary dependencies properly.chriseth2015-10-072-8/+38
|
* Merge pull request #122 from chriseth/anonymousEventsWithFourIndexedParamschriseth2015-10-072-4/+24
|\ | | | | Allow four indexed arguments for anynomous events.
| * Allow four indexed arguments for anynomous events.chriseth2015-10-072-4/+24
| |
* | Reject ether sent to library.chriseth2015-10-071-0/+23
|/
* Merge pull request #117 from chriseth/internalTypesForLibrarychriseth2015-10-074-5/+118
|\ | | | | Internal types for library
| * Compiler version stamp.chriseth2015-10-061-0/+11
| |
| * Add structs to library interface.chriseth2015-10-061-1/+2
| |
| * Provide access to scoped structs.chriseth2015-10-061-0/+27
| |
| * Compute canonical names of types for function signatures.chriseth2015-10-064-31/+50
| |
| * Encode storage items correctly for library calls.chriseth2015-10-061-0/+26
| |
| * Test for internal types.chriseth2015-10-061-0/+29
| |
* | Merge pull request #115 from chriseth/testLongConstructorArgumentschriseth2015-10-061-0/+28
|\ \ | |/ |/| Test long constructor arguments.
| * Test long constructor arguments.chriseth2015-10-051-0/+28
| |
* | Report warning in tests if requested.chriseth2015-10-031-13/+11
|/
* Store small byte arrays and strings in storage in one slot with theirchriseth2015-10-021-0/+110
| | | | length.
* -fixed the warning printingLianaHus2015-10-021-3/+3
| | | | -style fixes
* added warning for noninitialized references in storage.LianaHus2015-10-021-9/+23
|
* added testLianaHus2015-10-021-0/+18
|
* Bugfix in calldata unpacker.chriseth2015-10-012-1/+20
| | | | | The offset was not specified correctly if memory activity preceded the unpacker.
* Merge pull request #91 from chriseth/literalStringsToStoragePointerchriseth2015-09-241-0/+10
|\ | | | | Literal strings to storage pointer
| * Test that literal strings cannot be assigned to storage pointers.chriseth2015-09-231-0/+10
| |
* | improved the testLianaHus2015-09-231-3/+13
| |
* | fixed-sized arrays as return typeLianaHus2015-09-231-0/+19
|/ | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp
* Merge pull request #85 from chriseth/warningschriseth2015-09-234-213/+258
|\ | | | | Support mulitple errors and warnings.
| * Refactoring: Check types outside of AST and recover from some errors.chriseth2015-09-224-213/+258
| |
* | fixed the testLianaHus2015-09-221-4/+1
| |
* | fixed using string as a type for struct memberLianaHus2015-09-171-6/+6
| |
* | testLianaHus2015-09-171-0/+45
|/ | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp
* throw statement implementationLianaHus2015-09-161-0/+18
|
* style fixLianaHus2015-09-152-7/+7
|
* fixed rebaseLianaHus2015-09-151-17/+0
|
* moved the testLianaHus2015-09-152-1/+17
| | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp
* returned test for exceptions in constructorLianaHus2015-09-151-0/+17
|
* - changed implementationLianaHus2015-09-151-1/+1
| | | | - style fixes
* some fixes in testsLianaHus2015-09-151-48/+5
|
* added compile time check for out of bounds access for ordinary arraysLianaHus2015-09-151-26/+52
| | | | | | | todo: check for dynamicaly sized arrays Conflicts: test/libsolidity/SolidityEndToEndTest.cpp
* testLianaHus2015-09-151-0/+17
|
* Merge pull request #66 from chriseth/sol_librarieschriseth2015-09-127-8/+103
|\ | | | | Calling libraries.
| * Possibility to call library functions.chriseth2015-09-113-5/+57
| |
| * Transition from bytecode to more general linker objects.chriseth2015-09-114-4/+4
| |
| * Parsing and type checking of libraries without inheritance.chriseth2015-09-112-0/+43
| |
* | Merge pull request #69 from LianaHus/sol_enum_too_many_indexed_argschriseth2015-09-111-1/+0
|\ \ | |/ |/| too many indexed arguments for event
| * add call for EventDefinition::checkTypeRequirements()LianaHus2015-09-112-15/+0
| |
| * added testLianaHus2015-09-111-0/+14
| | | | | | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp
* | Merge pull request #65 from LianaHus/sol_Creating_a_contract_from_within_itselfchriseth2015-09-111-0/+12
|\ \ | |/ |/| Added error when creating a contract from within itself
| * style fixesLianaHus2015-09-111-1/+1
| |
| * added type check if the type of the var decl is one of base contract typeLianaHus2015-09-102-11/+12
| |
| * added testLianaHus2015-09-101-0/+11
| | | | | | | | | | Conflicts: test/libsolidity/SolidityEndToEndTest.cpp
* | - added tests to test empty commentLianaHus2015-09-103-0/+36
|/ | | | | - fixed skipSingleLineComment - some style fixes
* Merge pull request #51 from ethereum/revert-25-sol_strings_as_mapping_keyschriseth2015-09-091-7/+4
|\ | | | | Revert "added check for string as mapping key for local var."
| * Revert "added check for string as mapping key for local var."chriseth2015-09-081-7/+4
| |
* | Stylistic corrections.chriseth2015-09-091-1/+1
| |
* | Fix for constant strings.chriseth2015-09-081-0/+32
| |
* | - renamed AST to ast and ABI to abiLianaHus2015-09-081-1/+1
| | | | | | | | - style fixes
* | removed get prefixLianaHus2015-09-084-23/+23
| | | | | | | | style fixes
* | renamed getter functionsLianaHus2015-09-0811-154/+154
|/
* added check for string as mapping key for local var.LianaHus2015-08-241-4/+7
|
* added test to check string as mapping keyLianaHus2015-08-241-0/+16
|
* add tests for state variables accessors. normal and constantLianaHus2015-08-211-0/+21
| | | | fixed the issue with accessors for constant state variables
* Move Solidity tests.chriseth2015-08-2014-0/+12249