solidity/test/libsolidity/syntaxTests
chriseth 2d235bf7b0
Merge pull request #10341 from ethereum/optimizeAllocation
Do not allocate memory objects if they will be assigned directly.
2020-11-24 16:05:46 +01:00
..
abiEncoder Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
abstract Update tests. 2020-07-07 12:16:18 +02:00
array Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
bound Disallow invalid use of library names as type names. 2020-10-16 18:25:08 +02:00
constants New tests. 2020-10-08 18:56:18 +02:00
constructor Wording in error messages. 2020-11-03 13:31:51 +01:00
controlFlow Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
conversion Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
dataLocations Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
denominations Promote gwei to a proper keyword. 2020-07-13 18:07:11 +02:00
duplicateFunctions Add "Only one receive function is allowed"-error to syntax tests 2020-07-22 04:09:24 +02:00
emit Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
enums Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
events Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
fallback Some more tests. 2020-11-23 15:00:00 +01:00
freeFunctions Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
functionCalls Add more syntax tests for uncovered cases 2020-11-05 10:30:09 +00:00
functionTypes IR codegen: Handle address() with library type argument and external library calls 2020-11-17 20:36:39 +01:00
getter Wording in error messages. 2020-11-03 13:31:51 +01:00
globalFunctions Fix error IDs. 2020-06-22 18:56:32 +02:00
iceRegressionTests Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
immutable Immutables with literal values are pure. 2020-11-10 13:08:42 +01:00
imports Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
indexing Allow arrays of contract types as type expressions e.g. for abi.decode. 2020-10-16 19:40:41 +02:00
inheritance Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
inline_arrays Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
inlineAssembly Support .offset and .length for calldata bytes and string arrays. 2020-11-18 01:45:56 +01:00
largeTypes Introduce CompositeType 2020-09-21 16:18:04 +02:00
license Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
literalOperations Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
literals Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
lvalues Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
memberLookup Fixes internal compiler error with an unused reference to module member. 2020-10-12 11:56:01 +02:00
metaTypes Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
modifiers Cover "Override changes modifier to public state variable." error 2020-07-28 18:55:12 +02:00
multiSource If a declaration shadows several others, group them together 2020-10-08 21:01:25 +02:00
multiVariableDeclaration Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
nameAndTypeResolution Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
natspec Update existing tests. 2020-10-08 18:56:17 +02:00
parsing Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
pragma Fix pragma solidity version in antlr grammar 2020-06-23 02:25:21 +02:00
receiveEther Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
returnExpressions Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
scoping Do not allocate memory objects if they will be assigned directly. 2020-11-24 14:11:01 +01:00
shifts Fix error IDs. 2020-06-22 18:56:32 +02:00
specialFunctions Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
string Return UTF-8 error in BoolResult and remove it from string type 2020-09-23 17:35:05 +01:00
structs Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
tryCatch Add more syntax tests for uncovered cases 2020-11-05 10:30:09 +00:00
tupleAssignments Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
types Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
underscore Add syntax and semantic tests for underscore 2020-11-03 15:22:57 +00:00
unterminatedBlocks Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
unusedVariables Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
variableDeclaration Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
viewPureChecker Immutables with literal values are pure. 2020-11-10 13:08:42 +01:00
virtualLookup
visibility Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
bytecode_too_large.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
constructor_this.sol Update tests. 2020-07-07 12:16:18 +02:00
cycle_checker_function_type.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
deprecated_functions.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
double_stateVariable_declaration.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
double_variable_declaration.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
duplicate_contract.sol Remove unneeded assert 2020-10-05 13:01:11 +02:00
empty_struct.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
literal_comparisons.sol
missing_functions_duplicate_bug.sol Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
missing_state_variable.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
more_than_256_declarationerrors.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
more_than_256_importerrors.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
more_than_256_syntaxerrors.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
multiline_comments.sol
signed_rational_modulus.sol Fix error IDs. 2020-06-22 18:56:32 +02:00
smoke_test.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
tight_packing_literals_fine.sol
tight_packing_literals.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
unexpected.sol Update existing tests. 2020-10-08 18:56:17 +02:00
unimplemented_super_function_derived.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
unimplemented_super_function.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
upper_case_hex_literals.sol