aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2265 from roadriverrail/inline_asm_unused_warningchriseth2017-05-221-0/+14
|\ | | | | Analyze InlineAssembly for variable use
| * Analyze InlineAssembly for variable useRhett Aultman2017-05-221-0/+14
| | | | | | | | | | The unused variable checker in StaticAnalyzer did not conssider InlineAssembly objects. This commit introduces that missing feature.
* | Merge pull request #1810 from ethereum/compactJsonchriseth2017-05-223-17/+21
|\ \ | | | | | | Compact format for AST-Json.
| * | testsuite adjustmentdjudjuu2017-05-192-5/+7
| | |
| * | Compact format for AST-Json with backwards compatibilitychriseth2017-05-172-14/+16
| | |
* | | Refactor to abstract assembly to JULIA.chriseth2017-05-201-0/+1
| |/ |/|
* | Merge pull request #2282 from ethereum/fuzzerchriseth2017-05-201-0/+7
|\ \ | | | | | | Display the source on which the 'fuzzer' failed
| * | Put filename in quotes.chriseth2017-05-191-1/+1
| | |
| * | Disable error checking by bash for fuzzerchriseth2017-05-191-0/+3
| | |
| * | Display the source on which the 'fuzzer' failedAlex Beregszaszi2017-05-191-0/+4
| | |
* | | Merge pull request #2262 from ethereum/interface-cleanupchriseth2017-05-192-3/+3
|\ \ \ | | | | | | | | Cleanup the external interfaces (ABI and Natspec)
| * | | Rename CompilerStack.metadata to CompilerStack.natspecAlex Beregszaszi2017-05-191-2/+2
| | | |
| * | | Use CompilerStack.contractABI directlyAlex Beregszaszi2017-05-191-1/+1
| |/ /
* | | Merge pull request #2223 from ethereum/julia-boolchriseth2017-05-192-0/+12
|\ \ \ | |/ / |/| | Add support for bool literals in Julia
| * | Add tests for bool literalAlex Beregszaszi2017-05-192-0/+12
| | |
* | | Issue 2279: Log JSON RPC requests and responses when --log_level=message is ↵seusher2017-05-181-2/+2
|/ / | | | | | | provided to soltest
* | Merge pull request #2222 from ethereum/julia-typeschriseth2017-05-161-9/+17
|\ \ | |/ |/| Add support for types in Julia
| * Add tests for types in JuliaAlex Beregszaszi2017-05-061-9/+17
| |
* | Remove an unused function `successAssemble`Yoichi Hirai2017-05-091-5/+0
| | | | | | | | | | | | | | | | Otherwise, I see a build failure: test/libjulia/Parser.cpp:92:6: error: ‘bool dev::solidity::test::{anonymous}::successAssemble(const string&, bool)’ defined but not used [-Werror=unused-function] bool successAssemble(string const& _source, bool _allowWarnings = true) ^~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors
* | Run in optimizer mode when requestedAlex Beregszaszi2017-05-061-1/+2
| |
* | Split out common metadata validation codeAlex Beregszaszi2017-05-064-98/+125
| |
* | Add basic test for jsonCompilerAlex Beregszaszi2017-05-062-1/+144
|/
* Remove analyzer from Julia testsAlex Beregszaszi2017-05-051-21/+1
|
* Add Julia parser testAlex Beregszaszi2017-05-052-0/+213
|
* Merge pull request #2194 from ethereum/removeerrorlabelchriseth2017-05-052-16/+1
|\ | | | | Remove error label / invalid jump label.
| * Remove error label / invalid jump label.chriseth2017-04-282-16/+1
| |
* | Fix return value in the fuzzer.chriseth2017-05-031-1/+1
| |
* | Merge pull request #2206 from ethereum/fixoptimizerchriseth2017-05-031-19/+31
|\ \ | | | | | | Constant optimizer fix
| * | Stricter tests for constant optimization.chriseth2017-05-021-19/+31
| | |
* | | Fix tests.chriseth2017-05-031-0/+3
| | |
* | | Cleanup, style and additional test.chriseth2017-05-031-2/+10
| | |
* | | More strict tests.chriseth2017-05-031-7/+7
| | |
* | | Treat returns with expressions as return param useRhett Aultman2017-05-031-0/+16
| | | | | | | | | | | | | | | | | | | | | There are many cases of code where the return parameters exist mostly as a form of documentation. This change ensures that they do not have to be used in the function body so long as there is a return supplying values
* | | Warn on unused local variablesRhett Aultman2017-05-031-31/+154
| | | | | | | | | | | | | | | | | | Analyze functions for all local variables, parameters, and named return variables which are never used in the function, and issue a warning.
* | | Merge pull request #2211 from ethereum/jsonio-fixesAlex Beregszaszi2017-05-021-6/+6
|\ \ \ | | | | | | | | Follow the JSON I/O spec closely
| * | | Follow the JSON I/O spec closelyAlex Beregszaszi2017-05-021-6/+6
| |/ /
* | | Style and stricter tests.chriseth2017-05-021-1/+9
| | |
* | | Deprecate use of unary '+'Rhett Aultman2017-04-291-1/+10
|/ / | | | | | | | | | | | | The unary '+' serves no meaningful purpose in Solidity and it makes it possible to produce typos with dagerous implications (e.g. 'a =+5 '), so we are deprecating it. The SyntaxChecker currently issues warnings on the unary '+' but will still compile it for now.
* | Merge pull request #2171 from ethereum/splitParseAndAnalyzechriseth2017-04-284-16/+19
|\ \ | |/ |/| refactoring parse() into two separate functions
| * enumchecks not workingdjuju2017-04-281-0/+3
| |
| * refactoring parse() into two separate functionsdjuju2017-04-273-16/+16
| |
* | Add --standard-json option to solfuzzerAlex Beregszaszi2017-04-271-3/+46
| |
* | Make the fuzzer quietchriseth2017-04-272-10/+17
| |
* | Add constant optimizer testing to the fuzz tester.chriseth2017-04-272-3/+86
| |
* | Remove parentheses from around function return parametersAlex Beregszaszi2017-04-271-6/+6
| |
* | Merge pull request #1711 from ethereum/asmfunctionschriseth2017-04-263-38/+148
|\ \ | |/ |/| Assembly: Analysis stage for functions.
| * Fix storage access tests.chriseth2017-04-251-5/+5
| |
| * Fix test buildAlex Beregszaszi2017-04-251-0/+1
| |
| * Storage access from inline assembly.chriseth2017-04-251-3/+33
| |
| * Convert storge access tests to new explicit slot / offset access.chriseth2017-04-251-5/+9
| |
| * Review comments.chriseth2017-04-252-0/+35
| |
| * Use raw string for tests.chriseth2017-04-251-3/+15
| |
| * Make tests comply with stack height checks.chriseth2017-04-253-27/+26
| |
| * Use actual type checking phase of assembler.chriseth2017-04-251-1/+1
| |
| * Refactor assembly analysis into scope filling and checking.chriseth2017-04-251-10/+39
| |
* | Option to disable/remove all tests that require IPC.chriseth2017-04-263-3/+33
| |
* | Just bigger numbersYoichi Hirai2017-04-251-2/+2
| |
* | Also increase socket read timeout.chriseth2017-04-251-1/+1
| |
* | Increase mining timeout to 2 minutesAlex Beregszaszi2017-04-251-1/+1
| |
* | Remove a test about SELFDESTRUCT because the test harness obtains refund ↵Yoichi Hirai2017-04-251-13/+0
| | | | | | | | while the gas meter should not assume the refund.
* | test: fix invalid signaturesYoichi Hirai2017-04-251-2/+2
| |
* | A bit more time for mining.chriseth2017-04-251-1/+1
| |
* | test: change RPC settings to see if they have effects during testingYoichi Hirai2017-04-251-1/+4
| |
* | test: add a test case about the gas cost of EXTCODESIZEYoichi Hirai2017-04-251-0/+15
| |
* | test: add a failing test case about the gas cost of SUICIDE opcodeYoichi Hirai2017-04-251-0/+13
| |
* | Add a failing test about the gas cost of BALANCEYoichi Hirai2017-04-251-0/+13
| |
* | test: add a test about gas costs of EXPYoichi Hirai2017-04-251-0/+17
|/
* More pure tests.chriseth2017-04-251-0/+8
|
* Test for side-effect free condition.chriseth2017-04-221-0/+13
|
* Change error message.chriseth2017-04-211-2/+2
|
* Warn about side-effect free statements.chriseth2017-04-211-15/+43
|
* Add test for legacyASTAlex Beregszaszi2017-04-211-1/+6
|
* Add test for bytecodeAlex Beregszaszi2017-04-211-0/+21
|
* Add compilation test and verify outputAlex Beregszaszi2017-04-211-0/+79
|
* Trigger cases by the JSON (and not string) interfaceAlex Beregszaszi2017-04-211-1/+11
|
* Add basic tests for StandardCompilerAlex Beregszaszi2017-04-211-0/+155
|
* Create and update bugs by version list.chriseth2017-04-121-1/+4
|
* Isolate test cases from all tests and store under hash.chriseth2017-03-231-1/+1
|
* Check that contract inheriting from base with unimplemented constructor is ↵chriseth2017-03-221-1/+6
| | | | abstract.
* Disallow private or internal functions in interfacesAlex Beregszaszi2017-03-181-0/+20
|
* Add more complex tests for interfacesAlex Beregszaszi2017-03-182-0/+52
|
* Disallow constructor in interfacesAlex Beregszaszi2017-03-181-1/+1
|
* Disallow enums in interfacesAlex Beregszaszi2017-03-181-0/+10
|
* Use declared instead of definedAlex Beregszaszi2017-03-181-1/+1
|
* Add tests for interfacesAlex Beregszaszi2017-03-182-0/+107
|
* Add ContractKind to ContractDefinitionAlex Beregszaszi2017-03-181-1/+1
|
* Change references to FunctionType::LocationAlex Beregszaszi2017-03-161-1/+1
|
* Merge pull request #1698 from ethereum/exp-notationchriseth2017-03-154-25/+64
|\ | | | | Fix scientific notation in number literals
| * Add tests for negative baseAlex Beregszaszi2017-03-151-0/+12
| |
| * Add tests for fractional numbers in exponential notationAlex Beregszaszi2017-03-152-0/+5
| |
| * Add tests for scientific notationAlex Beregszaszi2017-03-154-25/+47
| |
* | Mention 'transfer' in warning about unchecked 'send'.chriseth2017-03-151-1/+1
| |
* | Merge pull request #1729 from ethereum/constantvariablesYoichi Hirai2017-03-152-7/+136
|\ \ | | | | | | Only allow pure expressions for constant state variables.
| * | Turn non-constant constants error into warning.chriseth2017-03-151-2/+4
| | |
| * | Disallow constants that are neither value types nor strings.chriseth2017-03-132-26/+44
| | |
| * | Allow enum values for constants.chriseth2017-03-131-1/+0
| | |
| * | End to end tests for constants.chriseth2017-03-131-0/+50
| | |
| * | Type checking for pure expressions.chriseth2017-03-131-10/+20
| | |
| * | Some new tests for constant variables.chriseth2017-03-131-0/+50
| | |
* | | Merge pull request #1767 from ethereum/longlibnamesYoichi Hirai2017-03-151-0/+3
|\ \ \ | | | | | | | | Do not crash on long linker commandline argument.
| * | | Allow long library names.chriseth2017-03-141-0/+3
| | | |
* | | | Require and Assert.chriseth2017-03-141-18/+24
|/ / /
* | | Merge pull request #1768 from ethereum/abortiffileexistsYoichi Hirai2017-03-131-0/+14
|\ \ \ | |/ / |/| | Do not overwrite files unless forced.
| * | Test for (not) overwriting files.chriseth2017-03-111-0/+14
| |/
* | Merge pull request #1751 from ethereum/warnLiteralExpBaseYoichi Hirai2017-03-111-0/+30
|\ \ | |/ |/| Warn if base of exponentiation operation is a literal.
| * Tests for warning about literal constant base in exponentition.chriseth2017-03-071-0/+30
| |
* | Merge pull request #1747 from ethereum/fixICEInternalConstructorYoichi Hirai2017-03-091-0/+18
|\ \ | | | | | | Move privateness of constructor into AST itself.
| * | Test for trying to construct an inconstructible contract before its definition.chriseth2017-03-061-0/+18
| |/
* | Merge pull request #1748 from ethereum/singletonArraychriseth2017-03-081-0/+14
|\ \ | | | | | | Use mobile type for singleton array.
| * | Test for array singletons.chriseth2017-03-061-0/+14
| |/
* | Tests for no compound assignment for tuples.chriseth2017-03-081-0/+12
| |
* | Merge pull request #1750 from ethereum/asmoctalYoichi Hirai2017-03-081-0/+18
|\ \ | | | | | | Disallow octal numbers in parser.
| * | Disallow octal literals.chriseth2017-03-071-0/+18
| |/
* | Merge pull request #1736 from ethereum/boundoptimizerYoichi Hirai2017-03-081-0/+62
|\ \ | | | | | | Add upper bound for computing constants.
| * | Tests for optimizing constants.chriseth2017-03-031-0/+62
| | |
* | | Merge pull request #1733 from ethereum/selfReferentialConstantchriseth2017-03-071-8/+41
|\ \ \ | | | | | | | | Detect cyclic dependencies between constants.
| * | | Check for circular references in constant variables.chriseth2017-03-061-8/+13
| | | |
| * | | Tests for cyclic dependencies between constants.chriseth2017-03-061-0/+28
| | |/ | |/|
* / | Test for uninitialized mapping.chriseth2017-03-061-0/+24
|/ /
* | Merge pull request #1735 from federicobond/fix-compilationchriseth2017-03-062-1/+2
|\ \ | | | | | | Fix compilation in OS X
| * | Fix header.chriseth2017-03-041-1/+1
| | |
| * | Add missing header for boost::noncopyableFederico Bond2017-03-031-0/+1
| | |
| * | Replace deprecated BOOST_MESSAGE with BOOST_TEST_MESSAGEFederico Bond2017-03-031-1/+1
| |/
* | Merge pull request #1702 from ethereum/assertErrorYoichi Hirai2017-03-041-18/+18
|\ \ | |/ |/| Change effect of assert to invalid opcode.
| * Remove assert for now.chriseth2017-02-241-18/+18
| |
* | Merge pull request #1725 from ethereum/ipcreadloopchriseth2017-03-032-18/+41
|\ \ | | | | | | Try reading multiple times from IPC.
| * | Style.chriseth2017-03-021-1/+2
| | |
| * | Some logging around account creation.chriseth2017-03-011-2/+7
| | |
| * | Try reading multiple times from IPC.chriseth2017-02-252-17/+34
| | |
* | | Test for declaring variable with empty tuple type.chriseth2017-03-021-0/+13
| | |
* | | Merge pull request #1728 from ethereum/externalfunctiontypeschriseth2017-03-021-0/+17
|\ \ \ | | | | | | | | Convert reference types to pointers in member function conversion.
| * | | Test case for external function type with calldata argument.chriseth2017-03-011-0/+17
| |/ /
* | | Print full error on failure.chriseth2017-02-251-1/+1
| | |
* | | Compiler error is not a failure.chriseth2017-02-251-1/+0
|/ /
* | Merge pull request #1651 from ethereum/transfer-methodchriseth2017-02-242-0/+54
|\ \ | | | | | | Add address.transfer(value)
| * | Disallow setting .gas() on .transfer()Alex Beregszaszi2017-02-241-17/+0
| | |
| * | Fix test for gas overloading in .transfer()Alex Beregszaszi2017-02-241-2/+13
| | |
| * | Support gas modifier on addr.transfer()Alex Beregszaszi2017-02-241-0/+6
| | |
| * | Add type checking test for address methodsAlex Beregszaszi2017-02-241-0/+18
| | |
| * | Add test for address.transfer()Alex Beregszaszi2017-02-241-0/+36
| | |
* | | Merge pull request #1710 from ethereum/strictasmtestschriseth2017-02-241-30/+69
|\ \ \ | |/ / |/| | Check error messages for assembly tests.
| * | Fix compiler warning.chriseth2017-02-201-1/+1
| | |
| * | Also check imbalanced stack.chriseth2017-02-201-2/+3
| | |
| * | Check error messages for assembly tests.chriseth2017-02-171-29/+67
| | |
* | | Test for unbalanced stack due to loading two values from outside.chriseth2017-02-201-0/+13
| | |
* | | Merge pull request #1703 from ethereum/fuzzerAlex Beregszaszi2017-02-183-22/+115
|\ \ \ | |/ / |/| | Executable for use with AFL
| * | Report failures correctly to AFL.chriseth2017-02-171-4/+4
| | |
| * | Include non-fuzzing fuzzer tests in commandline run.chriseth2017-02-171-4/+19
| | |
| * | Add executable for use with AFL.chriseth2017-02-162-18/+96
| |/
* | Merge pull request #1627 from ethereum/asmfunctionschriseth2017-02-171-0/+25
|\ \ | | | | | | Parsing assembly function definitions and calls.
| * | More tests.chriseth2017-02-161-0/+10
| | |
| * | Parsing function calls.chriseth2017-02-161-0/+5
| | |
| * | Parsing function definitions.chriseth2017-02-161-0/+10
| |/
* / Test case.chriseth2017-02-161-0/+16
|/
* Test for unicode string literals.chriseth2017-02-151-0/+11
|
* Tests for printing assembly.chriseth2017-02-141-0/+56
|
* Merge pull request #1620 from ethereum/refactorEntryYoichi Hirai2017-02-143-4/+7
|\ | | | | Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points.
| * Extract scopes into compiler stack.chriseth2017-02-143-3/+6
| |
| * Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points.chriseth2017-02-141-1/+1
| |
* | Use std::chrono and not boost::posix_TimeAlex Beregszaszi2017-02-132-3/+4
| |
* | Simplify mining loopAlex Beregszaszi2017-02-131-8/+3
| |
* | Use maxMiningTime in mining as opposed to poll counterAlex Beregszaszi2017-02-132-4/+9
|/
* Merge pull request #1661 from ethereum/asm-revertchriseth2017-02-132-0/+29
|\ | | | | Implement REVERT (EIP140)
| * Check for state changes in revert() testsAlex Beregszaszi2017-02-111-0/+5
| |
| * Add tests for revert()Alex Beregszaszi2017-02-112-0/+24
| |
* | Merge pull request #1676 from ethereum/test-modifytimestampchriseth2017-02-135-5/+30
|\ \ | |/ |/| Add blockTimestamp and do not rely on mining time (soltest)
| * Compare start/end timestampAlex Beregszaszi2017-02-101-1/+4
| |
| * Create getBlockByNumber RPC methodAlex Beregszaszi2017-02-103-4/+11
| |
| * Do not use modifyTimestamp where not neededAlex Beregszaszi2017-02-101-2/+5
| |
| * Add blockNumber and blockTimestamp to ExecutionFrameworkAlex Beregszaszi2017-02-104-0/+12
| |
* | Add tests for assert()Alex Beregszaszi2017-02-101-0/+19
|/
* Ensure that the whole message was written on Windows IPCAlex Beregszaszi2017-02-091-1/+1
|
* Simplify the Windows IPC codeAlex Beregszaszi2017-02-091-6/+3
|
* Detect closed sockets in IPCAlex Beregszaszi2017-02-091-1/+2
|
* Do not expect a new line, rather buffer up the response in IPCAlex Beregszaszi2017-02-092-20/+17
|
* Use only send/recv in IPCAlex Beregszaszi2017-02-092-8/+4
|
* Do not log dots in soltest on windowsAlex Beregszaszi2017-02-091-3/+0
|
* Use BOOST_REQUIRE() and stop at the first failureAlex Beregszaszi2017-02-091-5/+5
|
* Check the return value of RPC callsAlex Beregszaszi2017-02-091-6/+8
|
* Avoid crash if fdopen failed in IPCAlex Beregszaszi2017-02-091-0/+2
|
* Ensure that a valid RPC response is received through IPCAlex Beregszaszi2017-02-091-1/+1
|
* Merge branch 'develop' into negative-length-arrayschriseth2017-02-022-8/+8
|\
| * Replace cpp-ethereum with solidity in the license headersAlex Beregszaszi2017-02-022-8/+8
| |
* | Disallow arrays with negative lengthAlex Beregszaszi2017-02-021-0/+10
|/
* Cover both failure casesAlex Beregszaszi2017-02-021-1/+13
|
* Add more tests for function type conversionAlex Beregszaszi2017-02-012-1/+32
|
* Add tests for explicity fuction type to address castingAlex Beregszaszi2017-02-011-0/+12
|
* Add tests for invalid instructionAlex Beregszaszi2017-01-282-0/+20
|
* Merge pull request #1598 from wuestholz/developchriseth2017-01-272-4/+10
|\ | | | | Change translation of implicit throws
| * Address feedback from code review.Valentin Wüstholz2017-01-262-9/+5
| |
| * Change translation of implicit throws (issue #1589).Valentin Wüstholz2017-01-262-4/+14
| | | | | | | | | | | | | | This adds a new invalid instruction that is used for encoding implicit throws that are emitted by the compiler. This makes it possible to distinguish such runtime errors from user-provided, explicit throws.
* | Merge pull request #1451 from LefterisJP/fix_buildchriseth2017-01-271-3/+68
|\ \ | | | | | | Accept any kind of whitespace after natspec tags
| * | Tests for natspect parsing failure casesLefteris Karapetsas2017-01-271-0/+42
| | |
| * | Doc tags followed by newline are now parsed properlyLefteris Karapetsas2017-01-271-2/+2
| | |
| * | Fix and better output for testsLefteris Karapetsas2017-01-251-1/+1
| | |
| * | Accept any kind of whitespace after natspec tagsLefteris Karapetsas2017-01-251-0/+23
| | |
* | | Refactor json return type generation.chriseth2017-01-271-11/+11
| |/ |/|
* | Merge pull request #1604 from ethereum/checksumsAlex Beregszaszi2017-01-263-0/+183
|\ \ | | | | | | Warn about invalid checksums of addresses.
| * | Add some more tests for the checksum routine.chriseth2017-01-251-0/+83
| | |
| * | Tests for library checksums.chriseth2017-01-251-0/+51
| | |
| * | Warn about invalid checksums of addresses.chriseth2017-01-251-0/+49
| |/
* | Update error message.chriseth2017-01-261-1/+1
| |
* | Disallow assignment to non-identifiers.chriseth2017-01-261-0/+6
| |
* | Add test for assignment.chriseth2017-01-261-1/+7
| |
* | Moved test.chriseth2017-01-262-14/+6
| |
* | Add test for shadowing inline assembly instructionAlex Beregszaszi2017-01-251-0/+13
|/
* Test double inclusion of bytecode.chriseth2017-01-251-0/+29
|
* Test for initializing recursive structs.chriseth2017-01-241-0/+22
|
* Merge pull request #1245 from ethereum/1215chriseth2017-01-242-0/+157
|\ | | | | Allow multiple events of the same name
| * test: add tests about functions and events of the same nameYoichi Hirai2017-01-231-0/+47
| |
| * test: add a test case about inheriting multiple events of the same nameYoichi Hirai2017-01-231-0/+52
| |
| * test: somehow log counting system has changedYoichi Hirai2017-01-231-10/+10
| |
| * test: check the results of function calls in the test for multiple events of ↵Yoichi Hirai2017-01-231-6/+9
| | | | | | | | the same name
| * test: fixing inconsistent usage of end-to-end test frameworkYoichi Hirai2017-01-231-4/+7
| |
| * test: Add an end-to-end test about multiple events of the same nameYoichi Hirai2017-01-231-0/+41
| | | | | | | | See #1215
| * test: Add a test for #1215Yoichi Hirai2017-01-231-0/+11
| | | | | | | | using the original example from @pipermerriam
* | LLL: add test for (panic) in a sequenceAlex Beregszaszi2017-01-121-0/+7
| |
* | Add tests for internal constructor.chriseth2017-01-212-0/+36
|/
* Reset AST node IDs between compilation runs.chriseth2017-01-201-0/+1
|
* Properly escape user strings and lists.chriseth2017-01-191-12/+12
|
* Type identifiers.chriseth2017-01-191-0/+66
|
* Provide fallback for linking.chriseth2017-01-191-12/+12
|
* Revert "Fix contract lookup in tests"Rhett Aultman2017-01-175-10/+6
| | | | This reverts commit f8914c6b281f398d6084f10708233bf79d633ef0.
* Modify library collision testRhett Aultman2017-01-171-0/+1
| | | | | Since libaraies no longer collide on name but on fully-qualified name, you can only induce collision by colliding them as idenfitiers.
* Revert "Move clashing libraries to common source in test"Rhett Aultman2017-01-171-1/+2
| | | | This reverts commit c4a9ca5cfe7a8b4ba9d2d84392c57d5eefacd1f7.
* Use fully-qualified names for linking, tooRhett Aultman2017-01-171-12/+12
| | | | | | | | | | | | | | | Using libraries leaves behind a library link reference in the binary which the linker must later resolve. These link references were still being generated by name and not by fully-qualified name. This would lead to a link-time collision between two libraries having the same name but in different source units. This change changes linker symbols over to fully-qualified names, which resolves that issue. This does potentially introduce a new problem, which is that linker symbols appear to be limited to 36 characters and are truncated. Storing paths extends the average symbol size, and it would be great if truncation was from the tail rather than the head.
* Fix contract lookup in testsRhett Aultman2017-01-175-6/+10
| | | | | | The fully-qualified name of a contract with no source unit is :<Name> instead of just <Name>, so the test system needed to be adjusted accordingly.
* Move clashing libraries to common source in testRhett Aultman2017-01-171-2/+1
| | | | | | Since contracts and libraries only collide if they share a common source file now, this test only works if both libraries are in the same source.
* Merge pull request #1479 from ethereum/function_variable_mixinchriseth2017-01-132-56/+25
|\ | | | | Disallow mixin of functions and attributes under the same name
| * test: allow multiple errors in modifier-function overridingYoichi Hirai2017-01-121-2/+6
| |
| * analysis: allow some shadowings explicitlyYoichi Hirai2017-01-122-56/+21
| |
* | fixedVoR02202017-01-121-2/+2
| | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | added fix and a test for order independence of nested prefixingVoR02202017-01-121-0/+18
| | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | fixed test and added solutionVoR02202017-01-091-2/+2
| | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | added testVoR02202017-01-091-0/+11
|/ | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* test: add a test importing a file name starting with a periodYoichi Hirai2017-01-041-0/+8
|
* test: add a test case for #1286Yoichi Hirai2017-01-031-0/+22
|
* Merge pull request #1487 from ethereum/shift-opsYoichi Hirai2016-12-141-0/+390
|\ | | | | Shift operators
| * Fix tests.chriseth2016-12-141-5/+5
| |
| * test: add tests that tries different types on <<=Yoichi Hirai2016-12-131-0/+18
| |
| * Tests for bytes.chriseth2016-12-121-0/+38
| |
| * Correct test expectations.chriseth2016-12-121-3/+5
| |
| * Display tx hash for debugging.chriseth2016-12-121-2/+5
| |
| * Cleaner shift handling and type conversion for binary operations.chriseth2016-12-121-3/+22
| |
| * Type after shift should be type of left operand.chriseth2016-12-121-0/+15
| |
| * Support bitshifting in variablesAlex Beregszaszi2016-12-121-0/+298
| |
* | Improve error message when trying to modify constant variablesFederico Bond2016-12-131-0/+11
| |
* | Merge pull request #1494 from ethereum/showtxhashYoichi Hirai2016-12-131-2/+5
|\ \ | |/ |/| Display tx hash for debugging.
| * Display tx hash for debugging.chriseth2016-12-101-2/+5
| |
* | Merge pull request #1464 from federicobond/warn-msgvaluechriseth2016-12-111-1/+89
|\ \ | | | | | | Warn about using msg.value in non-payable function