Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3981 from ethereum/years-suffix | chriseth | 2018-04-24 | 1 | -0/+16 |
|\ | | | | | The "year" denomination is deprecated | ||||
| * | The "year" denomination is deprecated | Alex Beregszaszi | 2018-04-23 | 1 | -0/+16 |
| | | |||||
* | | Merge pull request #3976 from ethereum/emptyTupleComponent | chriseth | 2018-04-23 | 1 | -0/+13 |
|\ \ | |/ |/| | Empty tuple components should not be possible | ||||
| * | Treats inline array as an error. | Erik Kundt | 2018-04-23 | 1 | -0/+2 |
| | | |||||
| * | Turns it into warning (error for 0.5.0) and adds Changelog entry. | Erik Kundt | 2018-04-23 | 1 | -1/+8 |
| | | |||||
| * | Prevents null type from being used in tuple. | Erik Kundt | 2018-04-22 | 1 | -0/+4 |
| | | |||||
* | | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0) | Alex Beregszaszi | 2018-04-21 | 1 | -2/+10 |
|/ | |||||
* | Make literals an error for tight packing (experimental 0.5.0) | Alex Beregszaszi | 2018-04-20 | 1 | -8/+18 |
| | |||||
* | Improve error message for failed member lookup. | chriseth | 2018-04-19 | 1 | -11/+16 |
| | |||||
* | Warn about functions named "constructor". | chriseth | 2018-04-19 | 1 | -1/+6 |
| | |||||
* | Fix name clashes between constructor and fallback function. | chriseth | 2018-04-18 | 1 | -47/+45 |
| | |||||
* | Merge pull request #3880 from ethereum/addressMemberDocAndWarn | chriseth | 2018-04-16 | 1 | -1/+2 |
|\ | | | | | Improve documentation and warning about accessing contract members in… | ||||
| * | Improve documentation and warning about accessing contract members inherited ↵ | Daniel Kirchner | 2018-04-14 | 1 | -1/+2 |
| | | | | | | | | from address. | ||||
* | | Merge pull request #3875 from ethereum/constructorSelfRef | chriseth | 2018-04-14 | 1 | -4/+26 |
|\ \ | |/ |/| | Stricter check for "this" in constructor. | ||||
| * | Stricter check for member access to "this" in constructor. | Daniel Kirchner | 2018-04-13 | 1 | -4/+26 |
| | | |||||
* | | Merge pull request #3364 from ethereum/revertWithReason | chriseth | 2018-04-13 | 4 | -8/+18 |
|\ \ | | | | | | | Revert with reason | ||||
| * | | Allow error string for ``require``. | chriseth | 2018-04-12 | 1 | -0/+1 |
| | | | |||||
| * | | Register overload for ``revert()`` that can receive a reason string. | chriseth | 2018-04-12 | 2 | -1/+4 |
| | | | |||||
| * | | Allow function overloads involving MagicVariableDeclarations. | chriseth | 2018-04-12 | 3 | -7/+13 |
| |/ | |||||
* | | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 3 | -11/+39 |
|\ \ | |/ |/| | Add abi.encode and abi.encodePacked | ||||
| * | Allow struct encoding with new encoder. | chriseth | 2018-04-12 | 1 | -7/+18 |
| | | |||||
| * | Check partial function parameters if rest is arbitrary. | chriseth | 2018-04-12 | 1 | -3/+14 |
| | | |||||
| * | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 2 | -1/+7 |
| | | | | | | | | abi.encodeWithSignature. | ||||
* | | Merge pull request #3848 from ethereum/constantDivisionByZero | chriseth | 2018-04-12 | 2 | -0/+44 |
|\ \ | |/ |/| | Error on invalid arithmetic with constant expressions. | ||||
| * | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 2 | -0/+44 |
| | | |||||
* | | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 1 | -0/+7 |
|/ | |||||
* | Fix ConstantEvaluator to correctly handle single element tuples. | Daniel Kirchner | 2018-04-12 | 2 | -0/+7 |
| | |||||
* | Merge pull request #3309 from ethereum/limit-errors | chriseth | 2018-04-11 | 1 | -11/+1 |
|\ | | | | | Limit the number of errors output in a single run to 256 | ||||
| * | Catch FatalError in CompilerStack::analysis to cover all the analysis tests | Alex Beregszaszi | 2018-04-06 | 1 | -11/+1 |
| | | |||||
* | | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 1 | -4/+23 |
| | | |||||
* | | Use the most derived contract as main location in case of diamond inheritance. | Daniel Kirchner | 2018-04-09 | 1 | -3/+18 |
| | | |||||
* | | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 4 | -65/+60 |
| | | | | | | | | annotations in ContractCompiler. | ||||
* | | Allow duplicated constructor calls, if no arguments; support for multiple ↵ | Daniel Kirchner | 2018-04-09 | 1 | -20/+30 |
| | | | | | | | | | | | | inheritance; backwards compatibility. # tmp | ||||
* | | Error on duplicated super constructor calls | Federico Bond | 2018-04-09 | 2 | -0/+33 |
| | | |||||
* | | Static Analyzer: Fix non-deterministic order of unused variable warnings. | Daniel Kirchner | 2018-04-07 | 2 | -8/+10 |
|/ | |||||
* | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 1 | -23/+39 |
|\ | | | | | Error when using empty parentheses for base class constructors that r… | ||||
| * | Error when using empty parenthesis for base class constructors that require ↵ | Daniel Kirchner | 2018-04-05 | 1 | -23/+39 |
| | | | | | | | | arguments. | ||||
* | | Merge pull request #3745 from ethereum/fixRecursion | Alex Beregszaszi | 2018-04-05 | 2 | -19/+22 |
|\ \ | |/ |/| | Fix invalid recursion errors for structs | ||||
| * | Generalize cycle detection. | chriseth | 2018-04-03 | 2 | -19/+22 |
| | | |||||
* | | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 1 | -1/+16 |
|/ | |||||
* | Merge pull request #3699 from ethereum/interfaceExternalVisibility | Alex Beregszaszi | 2018-04-03 | 2 | -12/+13 |
|\ | | | | | Defaults to external visibility for interfaces. | ||||
| * | Makes visibility warning more concise. | Erik Kundt | 2018-04-03 | 1 | -2/+4 |
| | | |||||
| * | Defaults to external visibility for interfaces. | bitshift | 2018-04-03 | 2 | -12/+11 |
| | | |||||
* | | Merge pull request #3790 from ethereum/empty-structs | chriseth | 2018-03-30 | 2 | -0/+16 |
|\ \ | | | | | | | Disallow empty structs | ||||
| * | | Still allow empty structs for non-0.5.0 mode | Alex Beregszaszi | 2018-03-27 | 1 | -1/+8 |
| | | | |||||
| * | | Disallow empty structs | Alex Beregszaszi | 2018-03-27 | 2 | -0/+9 |
| |/ | |||||
* / | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 1 | -0/+11 |
|/ | | | | function types. | ||||
* | Merge pull request #3681 from ethereum/interface-external | chriseth | 2018-03-27 | 1 | -0/+9 |
|\ | | | | | Allow overriding external functions in interfaces with public in a child | ||||
| * | Introduce inContractKind helper on FunctionDefinition | Alex Beregszaszi | 2018-03-26 | 1 | -11/+5 |
| | | |||||
| * | Allow overriding external functions in interfaces with public in an ↵ | Alex Beregszaszi | 2018-03-26 | 1 | -0/+15 |
| | | | | | | | | implementing contract | ||||
* | | Changes deprecation and adjusts tests. | bitshift | 2018-03-27 | 1 | -0/+15 |
| | | |||||
* | | Moves blockhash function to global level. | bitshift | 2018-03-27 | 1 | -0/+1 |
|/ | |||||
* | Decode dynamic data. | chriseth | 2018-03-21 | 1 | -1/+1 |
| | |||||
* | Move dynamic type removal out of the type system. | chriseth | 2018-03-21 | 1 | -3/+9 |
| | |||||
* | Merge pull request #3611 from ethereum/warn-using-address-overload | Alex Beregszaszi | 2018-03-07 | 1 | -0/+14 |
|\ | | | | | Warn if using address overloads on contracts | ||||
| * | Assert that address members are not present on contract types in 0.5.0. | chriseth | 2018-03-05 | 1 | -0/+4 |
| | | |||||
| * | Warn if using address overloads on contracts | Alex Beregszaszi | 2018-03-05 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #3664 from ethereum/literalsHexUnitSmallFix | chriseth | 2018-03-07 | 1 | -2/+2 |
|\ \ | | | | | | | Use double quotes for suggestion about hex literals and denominations. | ||||
| * | | Use double quotes for suggestion about hex literals and denominations. | Daniel Kirchner | 2018-03-07 | 1 | -2/+2 |
| | | | |||||
* | | | Warn about using loose inline assembly features as experimental 0.5.0 feature. | chriseth | 2018-03-07 | 2 | -1/+7 |
|/ / | |||||
* | | Merge pull request #3549 from ethereum/fixmultidim | Alex Beregszaszi | 2018-03-06 | 1 | -4/+26 |
|\ \ | | | | | | | Properly detect which array and struct types are unsupported by the old ABI encoder. | ||||
| * | | Fix multi-dimensional arrays in the ABI. | chriseth | 2018-03-01 | 1 | -4/+26 |
| | | | |||||
* | | | Merge pull request #3652 from ethereum/gasleft_v2 | chriseth | 2018-03-06 | 1 | -1/+18 |
|\ \ \ | | | | | | | | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally remo… | ||||
| * | | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally removing it ↵ | Daniel Kirchner | 2018-03-06 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | in MagicType. | ||||
* | | | | Merge pull request #3643 from ethereum/gasleft | chriseth | 2018-03-06 | 1 | -0/+1 |
|\| | | | |_|/ |/| | | Move msg.gas to global function gasleft(). Closes #2971. | ||||
| * | | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #3569 from ethereum/evmVersion | chriseth | 2018-03-05 | 3 | -2/+11 |
|\ \ \ | |/ / |/| | | EVM version | ||||
| * | | Provide EVM version to assembly analysis. | chriseth | 2018-03-02 | 2 | -1/+3 |
| | | | |||||
| * | | Use EVM version in type checker. | chriseth | 2018-03-02 | 1 | -1/+8 |
| |/ | |||||
* | | Suggest expressions of the form '0x1234 * 1 day' instead of hex numbers with ↵ | Daniel Kirchner | 2018-03-02 | 1 | -2/+4 |
| | | | | | | | | unit denominations. | ||||
* | | Deprecate using unit denominations in combination with hex numbers. Closes ↵ | Daniel Kirchner | 2018-03-01 | 1 | -0/+15 |
|/ | | | | #3574. | ||||
* | Merge pull request #3613 from ethereum/require-visibility | chriseth | 2018-02-28 | 1 | -6/+13 |
|\ | | | | | Issue error if no visibility is specified (on 0.5.0) | ||||
| * | Issue error if no visibility is specified (on 0.5.0) | Alex Beregszaszi | 2018-02-27 | 1 | -6/+13 |
| | | |||||
* | | Only active variables at the point of their declaration. | chriseth | 2018-02-27 | 6 | -30/+84 |
| | | |||||
* | | Enable C99-scoping with the 0.5.0-experimental pragma. | chriseth | 2018-02-27 | 3 | -17/+31 |
| | | |||||
* | | Blocks and for loops can be scopes. | chriseth | 2018-02-27 | 4 | -1/+63 |
| | | |||||
* | | Scopes do not have to be declarations. | chriseth | 2018-02-27 | 2 | -11/+23 |
| | | |||||
* | | Make all lookups recursive by default. | chriseth | 2018-02-27 | 2 | -10/+11 |
|/ | |||||
* | Turn throw into a syntax error for 0.5.0 | Alex Beregszaszi | 2018-02-27 | 1 | -4/+12 |
| | |||||
* | Warn about using events without emit. | chriseth | 2018-02-22 | 2 | -1/+13 |
| | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 2 | -0/+10 |
| | |||||
* | Do not warn about analysis-only experimental features. | chriseth | 2018-02-22 | 1 | -2/+4 |
| | |||||
* | Fix shadowing for imports with aliases. | chriseth | 2018-02-20 | 1 | -2/+3 |
| | |||||
* | Properly warn about the use of constants in inline assembly in connection ↵ | chriseth | 2018-02-20 | 1 | -6/+6 |
| | | | | with ``_offset`` and ``_slot``. | ||||
* | Disallow uninitialized storage pointers as experimental 0.5.0 feature. | chriseth | 2018-02-15 | 1 | -1/+5 |
| | |||||
* | Merge pull request #3498 from ethereum/allowthisfselector | chriseth | 2018-02-14 | 2 | -0/+17 |
|\ | | | | | Allow `this.f.selector` to be pure. | ||||
| * | Allow `this.f.selector` to be pure. | chriseth | 2018-02-13 | 2 | -0/+17 |
| | | |||||
* | | Fix: remove reference. | chriseth | 2018-02-13 | 1 | -2/+4 |
| | | |||||
* | | Minor changes. | chriseth | 2018-02-13 | 1 | -2/+1 |
| | | |||||
* | | Restructure code for alternative identifier suggestions | Balajiganapathi S | 2018-02-13 | 3 | -19/+6 |
| | | |||||
* | | Move string distance function to utils and format error message | Balajiganapathi S | 2018-02-13 | 3 | -48/+6 |
| | | |||||
* | | Suggest alternatives when identifier not found. | Balajiganapathi S | 2018-02-13 | 5 | -2/+95 |
|/ | |||||
* | Deprecate the var keyword (and mark it an error as experimental 0.5.0 feature) | Jimmy Vogel | 2018-02-13 | 2 | -0/+16 |
| | |||||
* | Fix segfault with undeclared array types | Federico Bond | 2018-02-12 | 1 | -0/+5 |
| | |||||
* | Merge pull request #3360 from federicobond/nonfatal-reference-errors | Alex Beregszaszi | 2018-02-04 | 1 | -13/+20 |
|\ | | | | | Replace some fatal errors when resolving references with normal ones | ||||
| * | Replace some fatal errors when resolving references with normal ones | Federico Bond | 2018-02-03 | 1 | -13/+20 |
| | | |||||
* | | Issue warning for using public visibility for interface functions | Alex Beregszaszi | 2018-02-01 | 1 | -0/+2 |
|/ | |||||
* | Split inline assembly into loose and strict flavours. | chriseth | 2018-01-06 | 2 | -2/+2 |
| | |||||
* | Merge pull request #3297 from ethereum/separate_expression_and_statement | Alex Beregszaszi | 2018-01-04 | 1 | -0/+4 |
|\ | | | | | Separate expression and statement | ||||
| * | Separate expression and statement. | chriseth | 2017-12-13 | 1 | -0/+4 |
| | | |||||
* | | Improve error message for wrong struct initialization (#3359) | Federico Bond | 2018-01-04 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #3232 from ethereum/simplifyConstant | chriseth | 2017-12-14 | 3 | -47/+65 |
|\ \ | |/ |/| | Simplify ConstantEvaluator. | ||||
| * | Re-use `commonType` | chriseth | 2017-12-12 | 1 | -1/+1 |
| | | |||||
| * | Simplify ConstantEvaluator. | chriseth | 2017-12-12 | 3 | -41/+61 |
| | | |||||
| * | Reduce the types of errors outputted by ConstantEvaluator | Alex Beregszaszi | 2017-12-12 | 1 | -8/+6 |
| | | |||||
| * | Improve error message for constant evaluator | Alex Beregszaszi | 2017-12-12 | 1 | -1/+1 |
| | | |||||
* | | Limit number of secondary source locations. | chriseth | 2017-12-12 | 1 | -14/+5 |
|/ | |||||
* | Fix struct encoding warning for libraries. | chriseth | 2017-12-11 | 1 | -0/+1 |
| | |||||
* | Suggest the experimental ABI encoder if using structs as function parameters | Alex Beregszaszi | 2017-12-11 | 1 | -0/+10 |
| | |||||
* | Split Instruction and FunctionalInstruction in Julia | Alex Beregszaszi | 2017-12-05 | 1 | -5/+9 |
| | |||||
* | Unary operators and division. | chriseth | 2017-11-30 | 1 | -1/+1 |
| | |||||
* | If statement for Iulia / inline assembly. | chriseth | 2017-11-22 | 1 | -0/+5 |
| | |||||
* | Improve cyclic constant error message | Alex Beregszaszi | 2017-11-22 | 1 | -1/+1 |
| | |||||
* | Detect cyclic constant definitions | Balajiganapathi S | 2017-11-22 | 2 | -8/+15 |
| | |||||
* | Allow constant integer variables as array lengths. | Balajiganapathi S | 2017-11-22 | 2 | -0/+19 |
| | |||||
* | Do not try to display checksummed address for too-short/long address literals | Alex Beregszaszi | 2017-11-17 | 1 | -2/+2 |
| | |||||
* | Improves address literal checksum error message | wadeAlexC | 2017-11-17 | 1 | -3/+5 |
| | |||||
* | Update outdated comments | Kwang Yul Seo | 2017-11-15 | 4 | -4/+4 |
| | | | | _errors -> _errorReporter. | ||||
* | Fix a typo | Kwang Yul Seo | 2017-11-14 | 1 | -1/+1 |
| | | | | | A semicolon was mistakenly inserted where a string concatenation operator was meant. | ||||
* | More detailed errors for invalid array lengths (such as division by zero). | Alex Beregszaszi | 2017-10-20 | 1 | -3/+20 |
| | |||||
* | Turn usage of callcode into an error as experimental 0.5.0 feature | Alex Beregszaszi | 2017-10-19 | 1 | -4/+12 |
| | |||||
* | Only check tuples for valid rational numbers if they have more than one element. | chriseth | 2017-10-18 | 1 | -1/+1 |
| | |||||
* | Validate each tuple literal | Alex Beregszaszi | 2017-10-18 | 1 | -0/+6 |
| | |||||
* | Force interface functions as external (0.5.0) | Alex Beregszaszi | 2017-10-06 | 1 | -2/+10 |
| | |||||
* | Use the proper error reporting interface in ConstantEvaluator | Alex Beregszaszi | 2017-10-06 | 3 | -7/+13 |
| | |||||
* | Require location keyword for local variables (0.5.0) | Alex Beregszaszi | 2017-10-06 | 1 | -5/+13 |
| | |||||
* | Do not consider shadowing in variable names inside event declarations | Federico Bond | 2017-10-05 | 1 | -2/+4 |
| | |||||
* | Better error message when using fractional number as array size expressions | wadeAlexC | 2017-10-04 | 1 | -2/+3 |
| | |||||
* | Disallow non-pure constant state variables in 0.5.0 | Federico Bond | 2017-10-03 | 1 | -5/+14 |
| | |||||
* | Extract duplicate function or event finding logic | Federico Bond | 2017-09-30 | 2 | -37/+14 |
| | |||||
* | Emit error when declaring event with same name and arguments twice | Federico Bond | 2017-09-30 | 2 | -0/+45 |
| | |||||
* | Unary + now a synax error (experimental 0.5.0) | Rhett Aultman | 2017-09-30 | 1 | -1/+8 |
| | | | | | | | The unary + was deprecated with a warning, but will be elevated to an error in 0.5.0. This adds the syntax error for the 0.5.0 pragma, and for a true 0.5.0 release we should consider removing the operator from the parser. | ||||
* | Validate array length in type checker | Alex Beregszaszi | 2017-09-29 | 1 | -1/+1 |
| | |||||
* | Order GlobalContext entries | Alex Beregszaszi | 2017-09-27 | 1 | -13/+13 |
| | |||||
* | Format GlobalContext for readability | Alex Beregszaszi | 2017-09-27 | 1 | -42/+25 |
| | |||||
* | Merge pull request #2978 from ethereum/infer-location | chriseth | 2017-09-27 | 1 | -1/+1 |
|\ | | | | | Report correct location for inferred types in packed encoding | ||||
| * | Report correct location for inferred types in packed encoding | Alex Beregszaszi | 2017-09-27 | 1 | -1/+1 |
| | | |||||
* | | Ensure that address types are always declared as 160bit | Alex Beregszaszi | 2017-09-27 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2902 from ethereum/warn-obsolete | chriseth | 2017-09-21 | 1 | -0/+8 |
|\ | | | | | Warn about obsolete sha3/suicide calls | ||||
| * | Warn about obsolete sha3/suicide calls | Alex Beregszaszi | 2017-09-19 | 1 | -0/+8 |
| | | |||||
* | | Ensure parameter names match between headers and implementation | Alex Beregszaszi | 2017-09-20 | 3 | -11/+11 |
|/ | |||||
* | Allow constant byte arrays. | chriseth | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2910 from ethereum/fallback-restrict-external | chriseth | 2017-09-18 | 1 | -0/+5 |
|\ | | | | | Force fallback to be external (experimental 0.5.0 change) | ||||
| * | Force fallback to be external (experimental 0.5.0 change) | Alex Beregszaszi | 2017-09-18 | 1 | -0/+5 |
| | | |||||
* | | Check for recursive structs. | chriseth | 2017-09-16 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #2904 from ethereum/viewPure5 | Alex Beregszaszi | 2017-09-15 | 2 | -11/+24 |
|\ | | | | | Enforce view with error for experimental 0.5.0. | ||||
| * | Enforce view with error for experimental 0.5.0. | chriseth | 2017-09-14 | 2 | -11/+24 |
| | | |||||
* | | Warn if no visibility is specified on contract functions. | Alex Beregszaszi | 2017-09-14 | 2 | -1/+14 |
|/ | |||||
* | Merge pull request #2848 from ethereum/checkViewPure | chriseth | 2017-09-14 | 6 | -4/+398 |
|\ | | | | | Enforce view and pure. | ||||
| * | Minor changes from review. | chriseth | 2017-09-13 | 1 | -9/+3 |
| | | |||||
| * | Rename to invalidInPureFunctions | chriseth | 2017-09-13 | 1 | -1/+1 |
| | | |||||
| * | Allow constant variables in pure functions. | chriseth | 2017-09-06 | 1 | -1/+1 |
| | | |||||
| * | Rename and add anonymous namespace. | chriseth | 2017-09-06 | 1 | -1/+4 |
| | | |||||
| * | Fix tests | chriseth | 2017-09-06 | 1 | -5/+8 |
| | | |||||
| * | Tone down error message. | chriseth | 2017-09-06 | 1 | -2/+2 |
| | | |||||
| * | Modifier invocation can be base constructor call | chriseth | 2017-09-06 | 1 | -5/+7 |
| | | |||||
| * | Analyze assembly. | chriseth | 2017-09-06 | 2 | -11/+88 |
| | | |||||
| * | Do not report on overriding function and only warn for view. | chriseth | 2017-09-06 | 1 | -12/+19 |
| | | |||||
| * | Store super function. | chriseth | 2017-09-06 | 2 | -0/+4 |
| | | |||||
| * | Remove previous warning about pureness not being enforced. | chriseth | 2017-09-06 | 1 | -2/+0 |
| | | |||||
| * | View-pure checker. | chriseth | 2017-09-06 | 3 | -2/+308 |
| | | |||||
* | | Limit each duplicate declaration error to 32 references | Alex Beregszaszi | 2017-09-13 | 1 | -2/+20 |
| | | |||||
* | | Merge pull request #2852 from ssuman/develop | chriseth | 2017-09-12 | 1 | -1/+10 |
|\ \ | | | | | | | This commit will display warning when there is unused function parameter | ||||
| * | | Display helpful warning for unused function arguments/return parameters | Suman | 2017-09-12 | 1 | -1/+10 |
| | | | |||||
* | | | Do not report overload conflicts for every line excessively | Alex Beregszaszi | 2017-09-12 | 1 | -1/+5 |
|/ / | |||||
* | | Merge pull request #2888 from ethereum/same-declaration-error | Alex Beregszaszi | 2017-09-12 | 1 | -10/+12 |
|\ \ | | | | | | | Use secondary source location as a vector in same declaration errors | ||||
| * | | Use secondary source location as a vector in same declaration errors | Alex Beregszaszi | 2017-09-12 | 1 | -10/+12 |
| | | | |||||
* | | | Show each unimplemented function in secondary source location | Alex Beregszaszi | 2017-09-12 | 1 | -5/+7 |
|/ / | |||||
* / | Do not show the same error multiple times for events | Alex Beregszaszi | 2017-09-12 | 1 | -4/+4 |
|/ | |||||
* | Change array too large error message as it is valid for non-calldata too | Alex Beregszaszi | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Swap declaration/statemutability in FunctionType constructor | Alex Beregszaszi | 2017-08-29 | 1 | -1/+0 |
| | |||||
* | Mark all built in functions with appropriate statemutability | Alex Beregszaszi | 2017-08-29 | 2 | -11/+14 |
| | |||||
* | Warn on using literals in tight packing | Alex Beregszaszi | 2017-08-25 | 1 | -0/+22 |
| | |||||
* | Remove unused statements from the Natspec headers | Alex Beregszaszi | 2017-08-25 | 1 | -1/+1 |
| | |||||
* | Introduce pure specifier on functions | Alex Beregszaszi | 2017-08-24 | 1 | -0/+2 |
| | |||||
* | Check inheritance specifier arguments for interfaces. | chriseth | 2017-08-22 | 1 | -5/+5 |
| | |||||
* | Reject the creation of interface with the new statement | Alex Beregszaszi | 2017-08-22 | 1 | -0/+6 |
| | |||||
* | Fix crash related to ``using for`` without a library. | chriseth | 2017-08-21 | 1 | -1/+1 |
| | |||||
* | Library cannot have constructors | Alex Beregszaszi | 2017-08-21 | 1 | -0/+3 |
| | |||||
* | Use state mutability in override error messages | Alex Beregszaszi | 2017-08-17 | 1 | -11/+10 |
| | |||||
* | Use state mutability in fallback/constructor check | Alex Beregszaszi | 2017-08-17 | 1 | -4/+14 |
| | |||||
* | Warn about shift of literals. | chriseth | 2017-08-16 | 1 | -2/+3 |
| | |||||
* | Remove useless payable & constant typecheck | Alex Beregszaszi | 2017-08-14 | 1 | -2/+0 |
| | |||||
* | Merge pull request #2703 from ethereum/warnAboutLargeStorageArrays | chriseth | 2017-08-14 | 2 | -0/+45 |
|\ | | | | | Warn about large storage structures. | ||||
| * | Warn about large storage structures. | chriseth | 2017-08-12 | 2 | -0/+45 |
| | | |||||
* | | Avoid duplicate errors due to function overrides | Federico Bond | 2017-08-12 | 1 | -5/+5 |
| | | |||||
* | | Use a secondary location for function override errors | Federico Bond | 2017-08-12 | 2 | -24/+16 |
| | | |||||
* | | Refactor function override check to remove duplicate logic | Federico Bond | 2017-08-12 | 2 | -47/+50 |
| | | |||||
* | | Use fully qualified name of super in message | Federico Bond | 2017-08-12 | 1 | -4/+3 |
| | | |||||
* | | Improve override changes signature error message | Federico Bond | 2017-08-12 | 2 | -1/+34 |
|/ | |||||
* | Introduce ExperimentalFeatures header | Alex Beregszaszi | 2017-08-10 | 1 | -6/+4 |
| | |||||
* | Reject wildcard and multiple experimental pragmas | Alex Beregszaszi | 2017-08-10 | 1 | -13/+16 |
| | |||||
* | Reject unsupported experimental feature names | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Warn if using experimental pragma | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Support experimental feature pragma | Alex Beregszaszi | 2017-08-10 | 2 | -4/+30 |
| | |||||
* | Disable unimplemented library functions instead | Alex Beregszaszi | 2017-08-08 | 1 | -15/+2 |
| | |||||
* | Raise error when using unimplemented internal library functions. | Alex Beregszaszi | 2017-08-08 | 1 | -0/+15 |
| | |||||
* | Constructors must be implemented if declared. | Alex Beregszaszi | 2017-08-05 | 1 | -6/+2 |
| | |||||
* | Merge pull request #2687 from ethereum/show-unimplemented-funcs | Alex Beregszaszi | 2017-08-05 | 1 | -12/+16 |
|\ | | | | | Show unimplemented function if trying to instantiate an abstract class | ||||
| * | Remove duplicated check for unimplemented functions | Alex Beregszaszi | 2017-08-04 | 1 | -2/+0 |
| | | |||||
| * | Show unimplemented function if trying to instantiate an abstract class | Alex Beregszaszi | 2017-08-04 | 1 | -1/+8 |
| | | |||||
| * | Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations | Alex Beregszaszi | 2017-08-04 | 1 | -10/+9 |
| | | |||||
* | | Search for shadowee starting from parent scope. | chriseth | 2017-08-05 | 2 | -24/+4 |
| | | |||||
* | | Do not mark overloaded functions as shadowing | Alex Beregszaszi | 2017-08-05 | 2 | -1/+20 |
|/ | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Add isFallback() helper | Alex Beregszaszi | 2017-07-28 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValue | Alex Beregszaszi | 2017-07-27 | 1 | -1/+3 |
|\ | | | | | Fix crash on assignment to non-LValue | ||||
| * | Fix crash on assignment to non-lvalue. | chriseth | 2017-07-26 | 1 | -1/+3 |
| | | |||||
* | | Re-allow multiple modifiers per function. | chriseth | 2017-07-27 | 1 | -2/+0 |
| | | |||||
* | | Warn about shadowing variables. | Alex Beregszaszi | 2017-07-25 | 2 | -40/+98 |
|/ | |||||
* | Migrate over to ErrorReporter | Rhett Aultman | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | Warn if this is used in constructor | Alex Beregszaszi | 2017-07-19 | 2 | -0/+15 |
| | |||||
* | Include types in explicit conversion error message | Alex Beregszaszi | 2017-07-14 | 1 | -1/+8 |
| | |||||
* | Disable large arrays for memory location too | Alex Beregszaszi | 2017-07-14 | 1 | -1/+5 |
| | |||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 1 | -0/+6 |
| | |||||
* | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 1 | -0/+19 |
| | |||||
* | Issue proper warning trying to access calldata variables in inline assembly | Alex Beregszaszi | 2017-07-12 | 1 | -1/+4 |
| | |||||
* | Fix invalid "explicit storage keyword" warning for reference members of structs. | chriseth | 2017-07-11 | 1 | -1/+1 |
| | |||||
* | Deprecate throw. | chriseth | 2017-07-06 | 2 | -0/+13 |
| | |||||
* | Warn if local storage reference variable does not use "storage" explicitly. | chriseth | 2017-07-06 | 2 | -5/+20 |
| | |||||
* | Remove parsing of why3 doc strings | Alex Beregszaszi | 2017-07-01 | 2 | -13/+1 |
| | |||||
* | Warn about callcode. | chriseth | 2017-06-30 | 1 | -0/+8 |
| | |||||
* | Rename to isHexNumber() | Alex Beregszaszi | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Add hasHexPrefix() to AST::Literal | Alex Beregszaszi | 2017-06-28 | 1 | -1/+1 |
| | |||||
* | Give min and max values in warning message. | chriseth | 2017-06-28 | 1 | -1/+9 |
| | |||||
* | Warn if using var x = 0 | chriseth | 2017-06-28 | 1 | -0/+24 |
| | |||||
* | Merge pull request #2464 from federicobond/deprecate-function-type-names | chriseth | 2017-06-27 | 2 | -0/+14 |
|\ | | | | | Warn deprecated usage of parameter names in function types | ||||
| * | Warn deprecated usage of parameter names in function types | Federico Bond | 2017-06-27 | 2 | -0/+14 |
| | | |||||
* | | Warn about copies in storage that might overwrite unexpectedly. | chriseth | 2017-06-26 | 2 | -0/+34 |
| | | |||||
* | | Merge pull request #2460 from ethereum/disallowMultiModifier | Alex Beregszaszi | 2017-06-26 | 1 | -0/+13 |
|\ \ | | | | | | | Disallow invoking the same modifier multiple times. | ||||
| * | | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 1 | -0/+13 |
| | | | |||||
* | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimal | chriseth | 2017-06-26 | 1 | -1/+18 |
|\ \ \ | |/ / |/| | | Warn if decimal literals are used in a bytesXX context | ||||
| * | | Warn if decimal literals are used in a bytesXX context | Federico Bond | 2017-06-24 | 1 | -1/+18 |
| | | | | | | | | | | | | Fixes #2349 | ||||
* | | | Fix address literals not being treated as compile-time constants | Federico Bond | 2017-06-23 | 1 | -5/+5 |
| |/ |/| | | | | | | | The early return implemented for address literals in TypeChecker was preventing the isPure annotation from getting applied. Closes #2441 | ||||
* | | Fix segmentation fault with constant function parameters | Federico Bond | 2017-06-22 | 1 | -1/+8 |
|/ | |||||
* | Silence compiler warning. | chriseth | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Fix a crash about a non-callable expression. | chriseth | 2017-06-14 | 1 | -4/+1 |
| | |||||
* | Add a warning about a varialbe of the name of an instruction | Yoichi Hirai | 2017-06-13 | 3 | -0/+27 |
| | |||||
* | Generate only single error in inline assembly. | chriseth | 2017-06-08 | 2 | -3/+12 |
| | |||||
* | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 2 | -2/+9 |
| | |||||
* | Refactor error reporting | Rhett Aultman | 2017-05-30 | 14 | -429/+241 |
| | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | Introduce Julia mode in AsmAnalyzer | Alex Beregszaszi | 2017-05-27 | 2 | -1/+2 |
| | |||||
* | Adapt EVM codegen to new namespace. | chriseth | 2017-05-26 | 2 | -7/+7 |
| | |||||
* | Merge pull request #2292 from roadriverrail/inline_asm_unused_warning | Alex Beregszaszi | 2017-05-24 | 1 | -3/+0 |
|\ | | | | | Drop the inline asm includes from StaticAnalyzer | ||||
| * | Drop the inline asm includes from StaticAnalyzer | Rhett Aultman | 2017-05-23 | 1 | -3/+0 |
| | | |||||
* | | Merge pull request #2265 from roadriverrail/inline_asm_unused_warning | chriseth | 2017-05-22 | 2 | -2/+24 |
|\| | | | | | Analyze InlineAssembly for variable use | ||||
| * | Analyze InlineAssembly for variable use | Rhett Aultman | 2017-05-22 | 2 | -2/+24 |
| | | | | | | | | | | The unused variable checker in StaticAnalyzer did not conssider InlineAssembly objects. This commit introduces that missing feature. | ||||
* | | minor fixes and changelog update | djudjuu | 2017-05-22 | 1 | -0/+1 |
| | | |||||
* | | refactoring functionCallAnnotation | djudjuu | 2017-05-19 | 1 | -6/+9 |
|/ | |||||
* | Added change to make compile happy on MacOS 10.9.5 | Erik Quenon Steggall | 2017-05-06 | 1 | -1/+1 |
| |