solidity/test/libsolidity/syntaxTests
hrkrshnn 03f58c6b52 Strict explicit conversion between literals and enums
Explicit conversions between literals and enums are only allowed if the literal can represent a
value in the enum.
2020-11-06 19:15:02 +01:00
..
abiEncoder Wording in error messages. 2020-11-03 13:31:51 +01:00
abstract Update tests. 2020-07-07 12:16:18 +02:00
array Wording in error messages. 2020-11-03 13:31:51 +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 Mark string literals as not implicitly convertible to calldata arrays 2020-09-16 12:44:57 +02: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
enums Strict explicit conversion between literals and enums 2020-11-06 19:15:02 +01:00
events Wording in error messages. 2020-11-03 13:31:51 +01:00
fallback
freeFunctions Merge pull request #10023 from ethereum/develop 2020-10-13 18:18:53 +02:00
functionCalls Disallow specifying call options multiple times. 2020-11-02 20:07:23 +01:00
functionTypes Allow path syntax for super constructor calls 2020-10-13 14:32:11 +02:00
getter Wording in error messages. 2020-11-03 13:31:51 +01:00
globalFunctions Remove low-level log functions. 2020-10-22 17:50:14 +02:00
iceRegressionTests Introduce CompositeType 2020-09-21 16:18:04 +02:00
immutable Update tests for immutable variables 2020-08-28 19:06:34 +01:00
imports Wording in error messages. 2020-11-03 13:31:51 +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 Disallow invalid use of library names as type names. 2020-10-16 18:25:08 +02:00
inline_arrays
inlineAssembly Split error codes for EVM opcodes 2020-10-28 11:45:46 +00:00
largeTypes Introduce CompositeType 2020-09-21 16:18:04 +02:00
license
literalOperations
literals
lvalues Add missing annotation assignments 2020-10-07 14:52:35 +02: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 Merge remote-tracking branch 'origin/develop' into breaking 2020-11-03 14:05:14 +01:00
natspec Update existing tests. 2020-10-08 18:56:17 +02:00
parsing Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
pragma
receiveEther
returnExpressions
scoping If a declaration shadows several others, group them together 2020-10-08 21:01:25 +02:00
shifts
specialFunctions Remove low-level log functions. 2020-10-22 17:50:14 +02:00
string Return UTF-8 error in BoolResult and remove it from string type 2020-09-23 17:35:05 +01:00
structs Fix infinite loop for structs in library function parameter 2020-08-27 14:18:07 +02:00
tryCatch Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
tupleAssignments Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
types Tests/Docs after "stricter explicit conversion from Literals to Integers" 2020-11-03 14:31:44 +01:00
unchecked New tests. 2020-10-19 16:58:59 +02:00
unterminatedBlocks
unusedVariables
variableDeclaration
viewPureChecker Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
virtualLookup
visibility
bytecode_too_large.sol
constructor_this.sol Update tests. 2020-07-07 12:16:18 +02:00
cycle_checker_function_type.sol
deprecated_functions.sol
double_stateVariable_declaration.sol
double_variable_declaration.sol
duplicate_contract.sol Remove unneeded assert 2020-10-05 13:01:11 +02:00
empty_struct.sol
literal_comparisons.sol
missing_functions_duplicate_bug.sol Update tests. 2020-07-07 12:16:18 +02:00
missing_state_variable.sol
more_than_256_declarationerrors.sol
more_than_256_importerrors.sol
more_than_256_syntaxerrors.sol
multiline_comments.sol
negation.sol Restrict unary negation to signed integers. 2020-09-17 15:01:53 +02:00
signed_rational_modulus.sol
smoke_test.sol
tight_packing_literals_fine.sol
tight_packing_literals.sol
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
upper_case_hex_literals.sol