Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests. | Daniel Kirchner | 2018-11-26 | 8 | -0/+114 |
| | |||||
* | Merge pull request #5486 from ethereum/allowExternalPublicOverride | chriseth | 2018-11-26 | 3 | -1/+17 |
|\ | | | | | Allow external public override | ||||
| * | Changelog entry and tests. | chriseth | 2018-11-26 | 3 | -1/+17 |
| | | |||||
* | | Adapting tests to Scanner's lexical error diagnostics change. | Christian Parpart | 2018-11-24 | 7 | -7/+7 |
| | | |||||
* | | adapt to latest code changes | Lazaridis | 2018-11-24 | 7 | -7/+7 |
|/ | |||||
* | Add assert and tests for bound functions | Leonardo Alt | 2018-11-22 | 3 | -0/+24 |
| | |||||
* | Ignore unimplemented functions for storage returns. | Daniel Kirchner | 2018-11-13 | 2 | -0/+8 |
| | |||||
* | Refactor of bool TypeChecker::visit(FunctionCall const& _functionCall). | Kristofer Peterson | 2018-11-10 | 3 | -1/+11 |
| | | | | | | Visit method now cleanly determines if node represents a function call, struct construction or type conversion. Type checking, validation and error message logic is moved to separate methods. | ||||
* | Merge pull request #5351 from ethereum/functionTypeConversion | chriseth | 2018-11-08 | 13 | -0/+128 |
|\ | | | | | Relax type equality requirement of function types during conversion in code generation. | ||||
| * | Function type conversion test cases. | Daniel Kirchner | 2018-11-08 | 13 | -0/+128 |
| | | |||||
* | | Fix negative denominator in ``boost::rational`` during exponentiation. | Daniel Kirchner | 2018-11-06 | 1 | -0/+5 |
|/ | |||||
* | Fixes crash while encoding too large arrays. | Erik Kundt | 2018-10-30 | 3 | -0/+26 |
| | |||||
* | Added some tests. | chriseth | 2018-10-24 | 4 | -0/+44 |
| | |||||
* | Merge pull request #5208 from mestorlx/bug4156 | chriseth | 2018-10-15 | 3 | -0/+43 |
|\ | | | | | [WIP] Bad identifier suggestion in certain cases | ||||
| * | Updated MAXIMUM_STRING_DISTANCE to non static maximumStringDistance taking ↵ | mestorlx | 2018-10-13 | 3 | -0/+43 |
| | | | | | | | | into account length of the identifier | ||||
* | | Fixes invalid function calls to literals inside tuple assignment's LHS. | Christian Parpart | 2018-10-15 | 2 | -0/+16 |
|/ | |||||
* | Adds syntax tests for array index access. | Erik Kundt | 2018-10-11 | 5 | -0/+31 |
| | |||||
* | Merge pull request #5195 from ethereum/unsigned-array-index | chriseth | 2018-10-11 | 4 | -0/+40 |
|\ | | | | | Do not crash on non-unsigned array index | ||||
| * | Fixes crash on non-unsigned array index. | Erik Kundt | 2018-10-11 | 4 | -0/+40 |
| | | |||||
* | | Improved error message for lookup in function types. | Martin Diz | 2018-10-10 | 5 | -0/+85 |
|/ | |||||
* | Fixes large rational number literals being wrongly interpreted. | Christian Parpart | 2018-10-09 | 2 | -0/+18 |
| | | | | Fixes #5052. | ||||
* | Fixes #5051 (introduced in #4684), effectively allowing underscores in ↵ | Christian Parpart | 2018-10-02 | 1 | -0/+1 |
| | | | | address literals. | ||||
* | Merge pull request #5061 from ethereum/fixedSizeArrayLength | chriseth | 2018-09-26 | 4 | -2/+32 |
|\ | | | | | Disallow fixed-size arrays with zero length | ||||
| * | Moves length check to reference resolver. | Erik Kundt | 2018-09-22 | 5 | -8/+32 |
| | | |||||
| * | Disallows fixed-size multidim. arrays with zero-length. | Erik Kundt | 2018-09-22 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #5003 from herrBez/cleanUpdated | chriseth | 2018-09-24 | 12 | -0/+106 |
|\ \ | | | | | | | Add syntax tests to fix #4627 | ||||
| * | | Add syntax tests to augment the test coverage of | herrBez | 2018-09-21 | 12 | -0/+106 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | libsolidity/parsing/Scanner.cpp and libsolidity/parsing/Scanner.h Fix #4627 and PR #5003. - Add multiline comment test - Add upper case hex literal test - Add test for unicode escapes - Add test for strings with escaped newlines - Add test for string escapes - Add test for strings that do not terminate before end of file - Add test for unterminated blocks | ||||
* / | Make non-payable default for conversion to address. | chriseth | 2018-09-20 | 6 | -0/+40 |
|/ | |||||
* | Do not set to ref for explicit conversion and add assertion for array | liangdzou | 2018-09-14 | 7 | -0/+67 |
| | | | | type conversion. Also, add some test cases for #4901 and #4948. | ||||
* | Add payable and non-payable state mutability to AddressType. | Daniel Kirchner | 2018-09-13 | 31 | -7/+263 |
| | |||||
* | Update test suite to use address payable. | Daniel Kirchner | 2018-09-12 | 7 | -1/+5 |
| | |||||
* | Accept ``address payable`` during parsing. | Daniel Kirchner | 2018-09-11 | 19 | -1/+224 |
| | |||||
* | Merge pull request #4872 from bakaoh/issue4716 | chriseth | 2018-09-06 | 1 | -0/+8 |
|\ | | | | | Crash when array index value is too large | ||||
| * | Fix #4716: Crash when array index value is too large | bakaoh | 2018-09-05 | 1 | -0/+8 |
| | | |||||
* | | Merge pull request #4590 from ethereum/msgValueModifier | chriseth | 2018-09-05 | 6 | -1/+29 |
|\ \ | | | | | | | Warn if modifier uses msg.value in non-payable function | ||||
| * | | Turn warning into error. | chriseth | 2018-09-04 | 3 | -3/+3 |
| | | | |||||
| * | | Warns if modifier uses msg.value in non-payable function. | Erik Kundt | 2018-09-04 | 5 | -0/+28 |
| |/ | |||||
* | | Merge pull request #4895 from ethereum/abidecodesingle | chriseth | 2018-09-05 | 2 | -0/+12 |
|\ \ | | | | | | | Fix abi.decode returning single value. | ||||
| * | | Fix abi.decode returning single value. | chriseth | 2018-09-05 | 2 | -0/+12 |
| | | | |||||
* | | | Merge pull request #4866 from bakaoh/issue4743 | chriseth | 2018-09-05 | 38 | -45/+45 |
|\ \ \ | |/ / |/| | | Fix#4743: Incorrect source location for nameless parameters | ||||
| * | | Update test to correct source location for nameless parameters | bakaoh | 2018-08-31 | 38 | -45/+45 |
| |/ | |||||
* | | Merge pull request #4888 from ↵ | chriseth | 2018-09-04 | 5 | -0/+58 |
|\ \ | | | | | | | | | | | | | ethereum/disallow_single_statement_vardecl_if_while_for Disallow single statement var decl in if/while/for without blocks | ||||
| * | | Changed error message and added tests | Leonardo Alt | 2018-09-04 | 5 | -0/+58 |
| |/ | |||||
* / | Add return data to bare calls. | Daniel Kirchner | 2018-09-04 | 7 | -37/+51 |
|/ | |||||
* | Dynamic type as mapping key returns error instead of assertion fail | Leonardo Alt | 2018-08-16 | 6 | -0/+34 |
| | |||||
* | Review suggestions | Leonardo Alt | 2018-08-15 | 3 | -3/+3 |
| | |||||
* | Disallow indexed reference types in events when using ABIEncoderV2 | Leonardo Alt | 2018-08-15 | 6 | -0/+41 |
| | |||||
* | Merge pull request #4390 from ethereum/abidecode | chriseth | 2018-08-15 | 8 | -0/+67 |
|\ | | | | | Add abi.decode | ||||
| * | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 8 | -0/+67 |
| | | |||||
* | | Fixes #4718: High CPU usage when using large variable names | bakaoh | 2018-08-15 | 2 | -0/+14 |
|/ | |||||
* | Update tests. | chriseth | 2018-08-15 | 59 | -109/+173 |
| | |||||
* | New test cases. | mingchuan | 2018-08-15 | 20 | -0/+126 |
| | |||||
* | Update tests | Chase McDermott | 2018-08-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4765 from ethereum/fixes-issue-4673 | chriseth | 2018-08-14 | 1 | -0/+4 |
|\ | | | | | [WIP] Fixes issue where computing storage size for a number would take too long (or even cause a crash). | ||||
| * | Fixes issue where computing storage size for a number would take too long. | Christian Parpart | 2018-08-14 | 1 | -0/+4 |
| | | | | | | | | Fixes #4673. | ||||
* | | Add implicit convertibility to function pointer with higher state mutability | Jesse Busman | 2018-08-14 | 4 | -0/+178 |
| | | |||||
* | | Merge pull request #4782 from ethereum/encodePackedArrayOfStructs | chriseth | 2018-08-14 | 2 | -0/+19 |
|\ \ | | | | | | | Encode packed array of structs | ||||
| * | | Tests. | chriseth | 2018-08-10 | 2 | -0/+19 |
| |/ | |||||
* | | Adds support for structs in interfaces. | Christian Parpart | 2018-08-14 | 1 | -3/+0 |
| | | | | | | | | Closes #4733. | ||||
* | | Merge pull request #4777 from ethereum/typeConversionMemory | chriseth | 2018-08-14 | 3 | -2/+7 |
|\ \ | | | | | | | Defaul data location for type conversions is memory. | ||||
| * | | Defaul data location for type conversions is memory. | chriseth | 2018-08-13 | 3 | -2/+7 |
| |/ | |||||
* | | Merge pull request #4798 from ethereum/mappingArgumentsAndReturns | chriseth | 2018-08-13 | 32 | -5/+186 |
|\ \ | | | | | | | Mapping arguments and returns | ||||
| * | | Add tests for mappings in function types. | Daniel Kirchner | 2018-08-13 | 4 | -0/+20 |
| | | | |||||
| * | | Allow mappings of arrays as arguments and return values of internal functions. | Daniel Kirchner | 2018-08-13 | 11 | -0/+70 |
| | | | |||||
| * | | Consider mappings return values in control flow analysis. | Daniel Kirchner | 2018-08-13 | 4 | -0/+20 |
| | | | |||||
| * | | Allow mapping arguments and return values in all internal functions. | Daniel Kirchner | 2018-08-13 | 3 | -9/+0 |
| | | | |||||
| * | | Allow mapping arguments and return values in internal library functions. | Daniel Kirchner | 2018-08-13 | 12 | -0/+80 |
| |/ | |||||
* / | Disallow ambiguous conversions between number literals and bytesXX types. | Daniel Kirchner | 2018-08-13 | 14 | -17/+200 |
|/ | |||||
* | Merge pull request #4684 from ethereum/underscores_in_numeric_literals | chriseth | 2018-08-09 | 6 | -0/+72 |
|\ | | | | | [BREAKING] Underscores in numeric literals | ||||
| * | Cleanup & polish numbers-with-underscores parsing, also improving tests. | Christian Parpart | 2018-08-08 | 6 | -0/+72 |
| | | |||||
* | | Provide nicer error message when referencing overloaded references | Alex Beregszaszi | 2018-08-08 | 1 | -0/+11 |
| | | |||||
* | | Merge pull request #4740 from ethereum/enforceNumberOfReturnValues | chriseth | 2018-08-08 | 9 | -28/+87 |
|\ \ | | | | | | | Disallow empty return in function with return arguments. | ||||
| * | | Add back lost test case to a more reasonable location. | Daniel Kirchner | 2018-08-08 | 1 | -0/+3 |
| | | | |||||
| * | | Update and extend tests for return expressions. | Daniel Kirchner | 2018-08-08 | 8 | -28/+84 |
| |/ | |||||
* / | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 3 | -20/+11 |
|/ | | | | assignments. | ||||
* | Merge pull request #4731 from ethereum/interface-enum | chriseth | 2018-08-07 | 6 | -1/+48 |
|\ | | | | | Allow enums in interfaces | ||||
| * | Add more syntax tests for enums and interfaces/libraries | Alex Beregszaszi | 2018-08-07 | 5 | -0/+48 |
| | | |||||
| * | Allow enums in interfaces | Alex Beregszaszi | 2018-08-07 | 1 | -1/+0 |
| | | |||||
* | | More precise error message if using non-variables with _slot/_offset | Alex Beregszaszi | 2018-08-07 | 1 | -1/+1 |
| | | |||||
* | | Properly handle invalid references used together with _slot and _offset. | Alex Beregszaszi | 2018-08-07 | 1 | -0/+9 |
|/ | |||||
* | Do not crash on using _slot and _offset suffixes on their own | Alex Beregszaszi | 2018-08-07 | 2 | -0/+18 |
| | |||||
* | Merge pull request #4689 from ethereum/cleanup-050-tests | chriseth | 2018-08-06 | 23 | -106/+11 |
|\ | | | | | Cleanup 0.5.0 test cases | ||||
| * | Cleanup 0.5.0 test cases | Alex Beregszaszi | 2018-08-06 | 23 | -106/+11 |
| | | |||||
* | | Merge pull request #4671 from ethereum/mappingTupleAssignment | chriseth | 2018-08-06 | 7 | -12/+77 |
|\ \ | |/ |/| | Disallow assignments to mappings within tuple assignments; allow for local variables. | ||||
| * | Allow assignments to local variables of mapping types. | Daniel Kirchner | 2018-08-03 | 4 | -4/+35 |
| | | |||||
| * | Disallow assignments to mappings within tuple assignments. | Daniel Kirchner | 2018-08-03 | 4 | -12/+46 |
| | | |||||
* | | Merge pull request #4644 from ethereum/event_struct_error | chriseth | 2018-08-06 | 7 | -0/+27 |
|\ \ | | | | | | | Disallow structs in events without ABIEncoderV2 | ||||
| * | | Disallow structs in events without ABIEncoderV2 | Leonardo Alt | 2018-08-03 | 7 | -0/+27 |
| |/ | |||||
* | | Merge pull request #4681 from ethereum/var-suggestion-crash | chriseth | 2018-08-06 | 1 | -0/+12 |
|\ \ | | | | | | | Fix declaration suggestion for var with different number of components | ||||
| * | | Fix declaration suggestion for var with different number of components | Alex Beregszaszi | 2018-08-04 | 1 | -0/+12 |
| |/ | |||||
* | | Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose | Christian Parpart | 2018-08-04 | 14 | -63/+13 |
|\ \ | |/ |/| | [BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError | ||||
| * | Update tests to remove support for loose assembly | Christian Parpart | 2018-08-02 | 7 | -22/+8 |
| | | |||||
| * | Disallow loos assembly in Solidity by permanently setting it to SyntaxError ↵ | Christian Parpart | 2018-08-02 | 12 | -47/+11 |
| | | | | | | | | (from Warning) | ||||
* | | Turn warning about uninitialized storage returns into an error. | Daniel Kirchner | 2018-08-03 | 20 | -177/+177 |
|/ | |||||
* | Merge pull request #4399 from ethereum/contractWhitespace | Alex Beregszaszi | 2018-08-02 | 9 | -14/+14 |
|\ | | | | | Remove trailing whitespace in all contract files. | ||||
| * | Remove trailing whitespace in all contract files. | Daniel Kirchner | 2018-08-02 | 9 | -14/+14 |
| | | |||||
* | | Add additional test cases. | Daniel Kirchner | 2018-08-01 | 2 | -0/+10 |
| | | |||||
* | | Do not exclude public state variables when looking for conflicting declarations. | Daniel Kirchner | 2018-08-01 | 4 | -0/+27 |
|/ | |||||
* | Merge pull request #4378 from ethereum/noBaseWithoutArguments | Alex Beregszaszi | 2018-08-01 | 2 | -1/+10 |
|\ | | | | | [BREAKING] Disallow calling base constructors without arguments. | ||||
| * | Correctly determine whether base constructor is called without parentheses. | chriseth | 2018-08-01 | 1 | -0/+9 |
| | | |||||
| * | Disallow calling base constructors without arguments. | chriseth | 2018-08-01 | 1 | -1/+1 |
| | | |||||
* | | Adds positive/negative tests for checking error on cyclic dependency checker ↵ | Christian Parpart | 2018-08-01 | 4 | -0/+791 |
|/ | | | | exhaustion | ||||
* | Fix tests regarding contract type conversion. | chriseth | 2018-08-01 | 1 | -1/+2 |
| | |||||
* | Disallow conversion between unrelated contract types. | chriseth | 2018-08-01 | 10 | -5/+69 |
| | |||||
* | Merge pull request #4507 from ethereum/v050-var-keyword-trace-removals | Alex Beregszaszi | 2018-08-01 | 5 | -0/+40 |
|\ | | | | | Ensures an empty use of var keyword is caught with the proper non-fatal error message | ||||
| * | Ensures an empty use of var keyword is caught with the proper error message. | Christian Parpart | 2018-08-01 | 5 | -0/+40 |
| | | |||||
* | | Merge pull request #4625 from ethereum/pragma-cleanup | Alex Beregszaszi | 2018-07-31 | 5 | -16/+10 |
|\ \ | | | | | | | Remove unnecessary or stray version pragmas | ||||
| * | | Remove unnecesary version pragma from some syntax tests | Alex Beregszaszi | 2018-07-31 | 5 | -16/+10 |
| | | | |||||
* | | | Fix crash when FunctionType has undeclared type as parameter | Leonardo Alt | 2018-07-31 | 7 | -11/+36 |
|/ / | |||||
* | | Merge pull request #4556 from ethereum/library-data-locations | Alex Beregszaszi | 2018-07-26 | 6 | -0/+22 |
|\ \ | | | | | | | Add tests for data locations within libraries | ||||
| * | | Add tests for data locations within libraries | Alex Beregszaszi | 2018-07-25 | 6 | -0/+22 |
| | | | |||||
* | | | Merge pull request #4562 from ethereum/parser-tests | Alex Beregszaszi | 2018-07-25 | 12 | -0/+61 |
|\ \ \ | | | | | | | | | Add comprehensive tests for the parser | ||||
| * | | | Add syntax tests for import statements | Alex Beregszaszi | 2018-07-25 | 5 | -0/+15 |
| | | | | |||||
| * | | | Add syntax test for illegal pragma key | Alex Beregszaszi | 2018-07-25 | 1 | -0/+4 |
| | | | | |||||
| * | | | Add syntax test for location specifier redeclarations | Alex Beregszaszi | 2018-07-25 | 3 | -0/+23 |
| | | | | |||||
| * | | | Add syntax test for empty emit statement | Alex Beregszaszi | 2018-07-25 | 1 | -0/+7 |
| | | | | |||||
| * | | | Add syntax tests for assembly block type (evmasm) | Alex Beregszaszi | 2018-07-25 | 2 | -0/+12 |
| |/ / | |||||
* | | | Add more tests for inlineasm/AsmAnalyzer | Alex Beregszaszi | 2018-07-25 | 5 | -0/+60 |
| | | | |||||
* | | | Add more comprehensive tests for embedded inline assembly LValue/RValue access | Alex Beregszaszi | 2018-07-25 | 7 | -0/+74 |
|/ / | |||||
* | | Add comprehensive syntax tests for indexed access | Alex Beregszaszi | 2018-07-25 | 6 | -0/+46 |
| | | |||||
* | | Add syntax tests for unknown / invalid pragma | Alex Beregszaszi | 2018-07-25 | 2 | -0/+6 |
| | | |||||
* | | Merge pull request #4527 from ethereum/mappingEnforceStorage | Alex Beregszaszi | 2018-07-24 | 8 | -9/+36 |
|\ \ | | | | | | | Enforces explicit data location for mappings | ||||
| * | | Enforces data location of local mappings to storage. | Erik Kundt | 2018-07-24 | 8 | -9/+36 |
| | | | |||||
* | | | Disallow functions without implementation to use modifiers. This was already ↵ | Christian Parpart | 2018-07-24 | 2 | -3/+3 |
| |/ |/| | | | | | the case in the experimental 0.5.0 mode. | ||||
* | | Merge pull request #4439 from ethereum/address_members | chriseth | 2018-07-19 | 24 | -118/+19 |
|\ \ | | | | | | | [BREAKING] Enforce address members not accessible by contract instance | ||||
| * | | Changes in ExpressionCompiler | Leonardo Alt | 2018-07-19 | 1 | -0/+6 |
| | | | |||||
| * | | Removing tests that are not useful anymore | Leonardo Alt | 2018-07-18 | 3 | -43/+0 |
| | | | |||||
| * | | Add suggestion to error message | Leonardo Alt | 2018-07-17 | 12 | -12/+12 |
| | | | |||||
| * | | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 23 | -78/+16 |
| | | | |||||
* | | | Adds warning if function is shadowing a contract. | Erik Kundt | 2018-07-18 | 2 | -5/+10 |
| | | | |||||
* | | | Adjusts syntax tests to new constructor syntax. | Erik Kundt | 2018-07-18 | 29 | -116/+3 |
| |/ |/| | |||||
* | | Adds comment about reasoning behind syntax test. | Erik Kundt | 2018-07-18 | 1 | -3/+5 |
| | | |||||
* | | Removes obsolete syntax tests. | Erik Kundt | 2018-07-18 | 2 | -10/+0 |
| | | |||||
* | | Suggests external for fallback and interface functions. | chriseth | 2018-07-18 | 7 | -6/+16 |
| | | |||||
* | | Adjusts tests to expect type errors on default visibility. | Erik Kundt | 2018-07-18 | 6 | -15/+4 |
|/ | |||||
* | Add missing period in the end of error messages | Leonardo Alt | 2018-07-16 | 33 | -33/+33 |
| | |||||
* | Merge pull request #4481 from ethereum/disallow-throw | chriseth | 2018-07-16 | 3 | -18/+1 |
|\ | | | | | [BREAKING] Deprecate the throw statement | ||||
| * | Deprecate the throw statement | Alex Beregszaszi | 2018-07-16 | 3 | -18/+1 |
| | | |||||
* | | Specifies visibility in syntax test. | Erik Kundt | 2018-07-16 | 1 | -3/+3 |
|/ | |||||
* | enforce interface-functions to be external-declared | Christian Parpart | 2018-07-16 | 9 | -14/+10 |
| | | | | | | | | - libsolidity: Enforce interface-functions must be external-declared. - Changelog adapted to reflect changes wrt. functions in interfaces. - test: Adjustments according to prior interface-function changes. - tests: Adapting SolidityEndToEndTest to interface-function change. - docs: Adapted documentation to interface-function change. | ||||
* | Merge pull request #4501 from ethereum/recursiveStructsWithFixedArrays | chriseth | 2018-07-13 | 12 | -0/+139 |
|\ | | | | | Consider fixed-size arrays when checking for recursive structs. | ||||
| * | Add test cases. | Daniel Kirchner | 2018-07-13 | 12 | -0/+139 |
| | | |||||
* | | Update tests. | Daniel Kirchner | 2018-07-13 | 21 | -100/+155 |
|/ | |||||
* | Merge pull request #4437 from ethereum/report-empty-var-decls | chriseth | 2018-07-13 | 3 | -0/+22 |
|\ | | | | | [BREAKING] Report empty var tuple decls | ||||
| * | Generates a syntax error when declaring a variable declaration's LHS has no ↵ | Christian Parpart | 2018-07-12 | 3 | -0/+22 |
| | | | | | | | | named components | ||||
* | | Update test wrt requiring storage locations. | Daniel Kirchner | 2018-07-12 | 9 | -40/+25 |
|/ | |||||
* | Added default data locations to parameters for syntax tests. | Chase McDermott | 2018-07-12 | 38 | -83/+83 |
| | |||||
* | Merge pull request #4443 from ethereum/double_var_decl_fix | chriseth | 2018-07-12 | 3 | -0/+34 |
|\ | | | | | Fix crash when declaring the same var twice in the same scope | ||||
| * | Fix crash for double variable declaration in the same scope. | Leonardo Alt | 2018-07-11 | 3 | -0/+34 |
| | | |||||
* | | Merge pull request #4480 from ethereum/fixZeroWithExponent | chriseth | 2018-07-12 | 2 | -23/+29 |
|\ \ | | | | | | | Fix literals with exponents with mantissa of zero. | ||||
| * | | Split test case into failing and succeeding case. | Daniel Kirchner | 2018-07-11 | 2 | -24/+29 |
| | | | |||||
| * | | Fix literals with exponents with mantissa of zero. | Daniel Kirchner | 2018-07-11 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #4404 from ethereum/v050-var-keyword-suggest | Christian Parpart | 2018-07-11 | 1 | -0/+23 |
|\ \ \ | |/ / |/| | | [WIP] v0.5.0 var keyword type suggestion | ||||
| * | | semantics: Suggest auto-deduced type when user declares variable with `var` ↵ | Christian Parpart | 2018-07-11 | 1 | -0/+23 |
| | | | | | | | | | | | | keyword. | ||||
* | | | Merge pull request #4454 from ethereum/constructorArgCount | chriseth | 2018-07-11 | 4 | -12/+3 |
|\ \ \ | | | | | | | | | [BREAKING] Wrong argument count in constructor call | ||||
| * | | | Cleans up syntax test. | Erik Kundt | 2018-07-11 | 1 | -4/+1 |
| | | | | |||||
| * | | | Improves error with suggestion to remove parantheses. | Erik Kundt | 2018-07-11 | 3 | -3/+6 |
| | | | | |||||
| * | | | Updates Changelog, syntax test and simplifies type checker. | Erik Kundt | 2018-07-11 | 1 | -7/+1 |
| | | | | |||||
| * | | | Turns wrong argument count in base constructor call into en error. | Erik Kundt | 2018-07-11 | 2 | -10/+7 |
| |/ / | |||||
* | | | Merge pull request #4388 from ethereum/noPackedLiterals | chriseth | 2018-07-11 | 2 | -10/+1 |
|\ \ \ | | | | | | | | | Disallow packed encoding of literals. | ||||
| * | | | Disallow packed encoding of literals. | chriseth | 2018-07-03 | 2 | -10/+1 |
| | | | | |||||
* | | | | test: Fix typos. | Cryptomental | 2018-07-11 | 1 | -2/+2 |
| |/ / |/| | | | | | | | | | | | | | | Fix typos using codespell. Refs: #4442 | ||||
* | | | Merge pull request #4376 from ethereum/fallbackExternal | chriseth | 2018-07-11 | 10 | -26/+7 |
|\ \ \ | | | | | | | | | Fallback functions have to be external | ||||
| * | | | Update tests. | chriseth | 2018-07-04 | 10 | -26/+7 |
| | | | | |||||
* | | | | Merge pull request #4464 from ↵ | chriseth | 2018-07-11 | 1 | -0/+7 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | cryptomental/bugfix/fix-typos-in-AsmParser-and-TypeChecker AsmParser,TypeChecker: Fix typos. | ||||
| * | | | | libsolidity/syntaxTests: Add a test case for unwanted named arguments. | Cryptomental | 2018-07-10 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | Refs: #4442 | ||||
* | | | | | Merge pull request #4466 from ethereum/tupleNotEmpty | chriseth | 2018-07-11 | 7 | -37/+23 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Disallow empty tuple components. | ||||
| * | | | | Update tests. | Daniel Kirchner | 2018-07-10 | 7 | -37/+23 |
| | | | | | |||||
* | | | | | defaulting to v0.5.0 behaviour of unary + operator (disallow); also adapting ↵ | Christian Parpart | 2018-07-10 | 4 | -21/+2 |
| | | | | | | | | | | | | | | | | | | | | all tests to it | ||||
* | | | | | Merge pull request #4415 from ethereum/uninitializedStoragePointer | chriseth | 2018-07-10 | 8 | -35/+20 |
|\ \ \ \ \ | |/ / / / |/| | | | | [BREAKING] Turn uninitialized storage variables into error. | ||||
| * | | | | Update tests. | Daniel Kirchner | 2018-07-10 | 8 | -35/+20 |
| |/ / / | |||||
* / / / | Update tests. | Daniel Kirchner | 2018-07-10 | 6 | -23/+15 |
|/ / / | |||||
* | | | Merge pull request #4440 from ethereum/hex_denomination_enforce_error | chriseth | 2018-07-09 | 2 | -7/+1 |
|\ \ \ | | | | | | | | | [BREAKING] Enforce error on hex combined with denomination | ||||
| * | | | Enforce error on hex number combined with unit denomination | Leonardo Alt | 2018-07-09 | 2 | -7/+1 |
| | | | | |||||
* | | | | Merge pull request #4403 from ethereum/syntaxTestsVisibility | chriseth | 2018-07-09 | 37 | -613/+616 |
|\ \ \ \ | |/ / / |/| | | | Specify default visibility in syntax tests (pt. 2) | ||||
| * | | | Updates interface constructor and function type test. | Erik Kundt | 2018-07-07 | 3 | -15/+18 |
| | | | | |||||
| * | | | Fixes wrong visibility specifier in interface constructor test. | Erik Kundt | 2018-07-04 | 2 | -9/+9 |
| | | | | |||||
| * | | | Fixes broken syntax tests. | Erik Kundt | 2018-07-04 | 2 | -18/+9 |
| | | | | |||||
| * | | | Adds default visibility specifier to syntax tests. | Erik Kundt | 2018-07-04 | 37 | -610/+619 |
| |/ / | |||||
* | | | Merge pull request #4418 from ethereum/initialConstants | chriseth | 2018-07-05 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | Only allow compile-time constants for constant state variables. | ||||
| * | | | Only allow compile-time constants for constant state variables. | chriseth | 2018-07-04 | 2 | -2/+2 |
| |/ / | |||||
* | | | Merge pull request #4409 from ethereum/viewPureChecker | chriseth | 2018-07-04 | 19 | -11/+163 |
|\ \ \ | | | | | | | | | Enforce state mutability in view pure checker. | ||||
| * | | | Extend view pure test suite. | Daniel Kirchner | 2018-07-04 | 17 | -3/+162 |
| | | | | |||||
| * | | | Adjust tests wrt strict view pure checker. | Daniel Kirchner | 2018-07-04 | 2 | -8/+1 |
| |/ / | |||||
* / / | Enforcing error on msg.gas and block.blockhash() | Leonardo Alt | 2018-07-04 | 5 | -16/+4 |
|/ / | |||||
* | | Merge pull request #4379 from ethereum/constructorArgsTwice | chriseth | 2018-07-04 | 7 | -8/+8 |
|\ \ | | | | | | | Disallow constructor arguments given multiple times. | ||||
| * | | Disallow constructor arguments given multiple times. | chriseth | 2018-06-29 | 7 | -8/+8 |
| | | | |||||
* | | | Update test suite. | Daniel Kirchner | 2018-07-03 | 3 | -19/+11 |
| |/ |/| | |||||
* | | Remove trailing whitespace in missing visibility warning. | Daniel Kirchner | 2018-07-02 | 3 | -3/+3 |
| | | |||||
* | | Adds review suggestions. | Erik Kundt | 2018-07-02 | 2 | -2/+7 |
| | | |||||
* | | Updates syntax tests to specify default visibility. | Erik Kundt | 2018-06-29 | 45 | -196/+138 |
|/ | |||||
* | Merge pull request #4354 from ethereum/constructorSyntaxTests | chriseth | 2018-06-29 | 20 | -50/+44 |
|\ | | | | | Updates tests to new constructor syntax | ||||
| * | Updates invalid syntax test. | Erik Kundt | 2018-06-29 | 1 | -1/+2 |
| | | |||||
| * | Updates syntax tests to new constructor syntax. | Erik Kundt | 2018-06-29 | 20 | -50/+43 |
| | | |||||
* | | Merge pull request #4352 from D-Nice/develop | chriseth | 2018-06-29 | 2 | -0/+22 |
|\ \ | |/ |/| | Fixes storage ref var typo error from 'prefix' to 'suffix' | ||||
| * | Add passing test case | D-Nice | 2018-06-29 | 2 | -2/+13 |
| | | |||||
| * | Adds storage_reference.sol syntax test | D-Nice | 2018-06-28 | 1 | -0/+11 |
| | | |||||
* | | Fallback function has to be external: backwards-compatible changes. | chriseth | 2018-06-29 | 30 | -64/+81 |
| | | |||||
* | | Merge pull request #4097 from ethereum/noPackedExceptForPacked | chriseth | 2018-06-28 | 27 | -116/+116 |
|\ \ | | | | | | | [BREAKING] call only takes a single argument and does not pad | ||||
| * | | Also mention regular abi.encode in error message. | chriseth | 2018-06-27 | 4 | -12/+12 |
| | | | |||||
| * | | Update tests and add new tests. | chriseth | 2018-06-25 | 7 | -3/+71 |
| | | | |||||
| * | | Adjust tests. | chriseth | 2018-06-25 | 21 | -116/+48 |
| | | | |||||
* | | | Add emit keyword to tests. | chriseth | 2018-06-27 | 1 | -2/+1 |
| | | | |||||
* | | | Remove non-0.5.0 warning for emit keyword (make it mandatory) | Alex Beregszaszi | 2018-06-27 | 6 | -19/+6 |
| | | | |||||
* | | | test: Adapted to the change of the var-keyword elimination. | Christian Parpart | 2018-06-26 | 50 | -320/+119 |
| | | | |||||
* | | | test: drop obsoleted syntaxTest(s) | Christian Parpart | 2018-06-26 | 2 | -19/+0 |
|/ / | |||||
* | | Keep the 'if it not used as an address' helper message for all cases of ↵ | Alex Beregszaszi | 2018-06-25 | 4 | -4/+4 |
| | | | | | | | | address related warnings | ||||
* | | Update tests for strict address literals | Jason Cobb | 2018-06-25 | 7 | -11/+10 |
|/ | |||||
* | Disallow the years unit denomination properly | Alex Beregszaszi | 2018-06-22 | 3 | -9/+2 |
| | |||||
* | Merge pull request #4306 from ethereum/remove_050_workaround_scoping | chriseth | 2018-06-21 | 24 | -85/+29 |
|\ | | | | | [BREAKING] C99 scoping rules by default (remove 050 workaround) | ||||
| * | C99 scoping rules by default | Leonardo Alt | 2018-06-20 | 24 | -85/+29 |
| | | |||||
* | | Merge pull request #4219 from ethereum/functionTypeNamedArguments | Alex Beregszaszi | 2018-06-21 | 3 | -7/+6 |
|\ \ | |/ |/| | Turn named return parameters in function types into an error. | ||||
| * | Return parameters in function types may not be named. | Daniel Kirchner | 2018-06-18 | 3 | -7/+6 |
| | | |||||
* | | Disallow raw callcode (was deprecated in 0.4.12) | Alex Beregszaszi | 2018-06-20 | 5 | -15/+4 |
|/ | |||||
* | Enforce disallowing empty structs | Christian Parpart | 2018-06-14 | 5 | -20/+13 |
| | | | | | | | | This patch enfoces an error when it encounters an empty struct, effectively eliminating the deprecation warning. Also adjust 419_interface_structs to explicitely test for (non-empty) structs, as this behaviour "may" change in the future. | ||||
* | Disallow sha3/suicide aliases | Alex Beregszaszi | 2018-06-13 | 4 | -41/+13 |
| | |||||
* | Merge pull request #4241 from ethereum/show-named-arg | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
|\ | | | | | Show named argument name in error | ||||
| * | Show named argument name in error | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
| | | |||||
* | | Extract test cases from ViewPureChecker | Alex Beregszaszi | 2018-06-06 | 22 | -0/+227 |
|/ | |||||
* | Move "create2_as_variable" back to non-isoltest tests. | chriseth | 2018-06-05 | 1 | -6/+0 |
| | |||||
* | Split out SolidityNameAndTypeResolution tests into SyntaxTests | Alex Beregszaszi | 2018-05-31 | 551 | -0/+4244 |
| | |||||
* | Merge pull request #4172 from ethereum/trailing_dot | chriseth | 2018-05-31 | 3 | -0/+18 |
|\ | | | | | [BREAKING] Disallow trailing dot not followed by number | ||||
| * | Disallow trailing dots that are not followed by a number | Leonardo Alt | 2018-05-30 | 3 | -0/+18 |
| | | |||||
* | | Merge pull request #3743 from ethereum/popStorageArray | chriseth | 2018-05-31 | 29 | -0/+54 |
|\ \ | |/ |/| | pop() for storage arrays | ||||
| * | Adds syntax tests, documentation and changelog entry. | Erik Kundt | 2018-05-30 | 29 | -0/+54 |
| | | | | | | | | Refines comment for array utility function. | ||||
* | | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 14 | -1/+79 |
|/ | |||||
* | Merge pull request #4067 from ethereum/050 | chriseth | 2018-05-24 | 10 | -9/+128 |
|\ | | | | | [BREAKING] Version 0.5.0 | ||||
| * | Update control flow graph. | Daniel Kirchner | 2018-05-17 | 2 | -7/+19 |
| | | |||||
| * | Disallow conversions between bytesX and uintY of different size. | Daniel Kirchner | 2018-05-17 | 7 | -2/+56 |
| | | |||||
| * | Add syntax tests and Changelog entry | Leonardo Alt | 2018-05-17 | 1 | -0/+53 |
| | | |||||
* | | Move more parser tests to syntax tests | Alex Beregszaszi | 2018-05-22 | 54 | -0/+458 |
|/ | |||||
* | Split warning for multi arguments for hash functions | Alex Beregszaszi | 2018-05-16 | 7 | -18/+36 |
| | |||||
* | Add test for single non-bytes argument. | chriseth | 2018-05-16 | 1 | -0/+12 |
| | |||||
* | Adjust tests. | chriseth | 2018-05-16 | 11 | -10/+28 |
| | |||||
* | Merge pull request #4145 from ethereum/more-parser-test-moves | chriseth | 2018-05-16 | 11 | -0/+102 |
|\ | | | | | Move couple of parser tests to syntax tests. | ||||
| * | Move couple of parser tests to syntax tests. | Alex Beregszaszi | 2018-05-16 | 11 | -0/+102 |
| | | |||||
* | | Add tests for multi variable declaration statement. | chriseth | 2018-05-16 | 8 | -0/+80 |
|/ | |||||
* | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 1 | -0/+7 |
| | |||||
* | Add test for default location. | Daniel Kirchner | 2018-05-15 | 1 | -0/+19 |
| | |||||
* | Add control flow analyzer and test for uninitialized storage returns. | Daniel Kirchner | 2018-05-15 | 22 | -0/+375 |
| | |||||
* | Replace constant with view in the tests. | Daniel Kirchner | 2018-05-09 | 10 | -4/+85 |
| | |||||
* | Update test expectations. | Daniel Kirchner | 2018-05-09 | 30 | -56/+56 |
| | |||||
* | Merge pull request #4054 from ethereum/token-names | chriseth | 2018-05-09 | 16 | -16/+16 |
|\ | | | | | Improve parser error messages | ||||
| * | Update parser test expectations | Alex Beregszaszi | 2018-05-04 | 16 | -16/+16 |
| | | |||||
* | | New tests for wildcard assignments. | chriseth | 2018-05-08 | 5 | -0/+66 |
| | | |||||
* | | Extract tests. | chriseth | 2018-05-08 | 5 | -0/+47 |
| | | |||||
* | | Merge pull request #4063 from ethereum/emit-non-event | chriseth | 2018-05-04 | 1 | -0/+10 |
|\ \ | |/ |/| | Show proper error when trying to emit a non-event | ||||
| * | Show proper error when trying to emit a non-event | Alex Beregszaszi | 2018-05-04 | 1 | -0/+10 |
| | | |||||
* | | Simplify expectIdentifierToken by using expectToken | Alex Beregszaszi | 2018-05-04 | 7 | -7/+7 |
|/ | |||||
* | Move some parser tests to syntax tests | Alex Beregszaszi | 2018-05-03 | 29 | -0/+183 |
| |