Alex Beregszaszi
|
71118e99fe
|
Fix view/pure warnings on selector tests
|
2017-09-13 18:48:21 +01:00 |
|
Alex Beregszaszi
|
5c9dbd5083
|
Merge pull request #2473 from ethereum/functiontype-sig
Add .selector member on function types
|
2017-09-13 17:35:48 +01:00 |
|
chriseth
|
3f3bcc4f8a
|
Merge pull request #2848 from ethereum/checkViewPure
Enforce view and pure.
|
2017-09-13 18:29:13 +02:00 |
|
Alex Beregszaszi
|
fd1f8ab38b
|
Rename .sig to .selector on function types
|
2017-09-13 11:40:57 +01:00 |
|
Alex Beregszaszi
|
88946f9f03
|
Add tests for function type sigs
|
2017-09-13 11:40:57 +01:00 |
|
Suman
|
10d290cb9b
|
Display helpful warning for unused function arguments/return parameters
|
2017-09-12 15:35:03 +01:00 |
|
Alex Beregszaszi
|
7ed938b95e
|
Change retrieveContract to take name and not index
|
2017-09-11 15:58:30 +01:00 |
|
chriseth
|
d6861d909c
|
Analyze assembly.
|
2017-09-06 13:52:29 +02:00 |
|
chriseth
|
41d0ad7a9c
|
New tests for view and pure checker.
|
2017-09-06 13:50:49 +02:00 |
|
Alex Beregszaszi
|
50047bf82c
|
Change tests to use view or pure as appropriate
|
2017-09-06 13:50:49 +02:00 |
|
chriseth
|
311be6b659
|
Fix warning checking in test framework.
|
2017-09-06 12:19:11 +02:00 |
|
Alex Beregszaszi
|
3326a2282e
|
Change array too large error message as it is valid for non-calldata too
|
2017-09-05 22:38:45 +01:00 |
|
chriseth
|
4136ff9a59
|
Extract base from NameAndType and use compiler stack.
|
2017-08-29 14:05:38 +02:00 |
|
chriseth
|
372279ceb2
|
Merge pull request #2819 from ethereum/compilerstack-typecheck
Simplify typechecking loop in compilerstack
|
2017-08-25 19:38:15 +02:00 |
|
Alex Beregszaszi
|
8bc76ecf58
|
Update SolidityNameAndTypeResolution to match CompilerStack
|
2017-08-25 15:49:33 +01:00 |
|
Alex Beregszaszi
|
f6dba97fe1
|
Warn on using literals in tight packing
|
2017-08-25 14:16:50 +01:00 |
|
Alex Beregszaszi
|
efe4d68a7b
|
Introduce view (and keep constant as an alias)
|
2017-08-22 18:24:22 +01:00 |
|
chriseth
|
7b0046a9aa
|
Check inheritance specifier arguments for interfaces.
|
2017-08-22 11:39:50 +01:00 |
|
Alex Beregszaszi
|
b25f0c52ac
|
Reject the creation of interface with the new statement
|
2017-08-21 23:02:18 +01:00 |
|
chriseth
|
ec82706396
|
Fix crash related to `using for ` without a library.
|
2017-08-21 16:57:37 +02:00 |
|
Alex Beregszaszi
|
fe25bcf350
|
Library cannot have constructors
|
2017-08-21 11:03:55 +01:00 |
|
Alex Beregszaszi
|
a61c88e9fe
|
Use state mutability in override error messages
|
2017-08-16 17:23:09 +01:00 |
|
Alex Beregszaszi
|
a2aaa47ee2
|
Use state mutability in fallback/constructor check
|
2017-08-16 17:23:09 +01:00 |
|
chriseth
|
3d595d4b14
|
Warn about shift of literals.
|
2017-08-16 13:54:28 +02:00 |
|
Alex Beregszaszi
|
b225bf5d53
|
Remove useless payable & constant typecheck
|
2017-08-14 14:21:47 +01:00 |
|
chriseth
|
4d9790b6d5
|
Merge pull request #2703 from ethereum/warnAboutLargeStorageArrays
Warn about large storage structures.
|
2017-08-14 11:37:01 +02:00 |
|
Federico Bond
|
f0dc572055
|
Improve and add missing tests
|
2017-08-11 22:45:25 +01:00 |
|
chriseth
|
da3ac86403
|
Warn about large storage structures.
|
2017-08-11 20:57:57 +02:00 |
|
Alex Beregszaszi
|
e3d1137d2b
|
Merge pull request #2712 from ethereum/experimental-metadata
Store experimental flag in metadata CBOR
|
2017-08-11 17:21:08 +01:00 |
|
Zhen Zhang
|
b5aeae0084
|
Amend expected test messages for SolidityNameAndTypeResolution
|
2017-08-11 16:45:52 +01:00 |
|
Alex Beregszaszi
|
644c91fc2d
|
Add __test experimental mode for testing
|
2017-08-11 16:38:02 +01:00 |
|
Alex Beregszaszi
|
470950e75e
|
Add tests for experimental pragma
|
2017-08-10 00:15:25 +01:00 |
|
Alex Beregszaszi
|
8df89c5d5b
|
Disable unimplemented library functions instead
|
2017-08-08 12:42:10 +01:00 |
|
Alex Beregszaszi
|
1ada48f61e
|
Raise error when using unimplemented internal library functions.
|
2017-08-08 11:58:00 +01:00 |
|
Alex Beregszaszi
|
bb0eb57c2f
|
Constructors must be implemented if declared.
|
2017-08-04 20:38:45 +01:00 |
|
Alex Beregszaszi
|
a372941a44
|
Merge pull request #2687 from ethereum/show-unimplemented-funcs
Show unimplemented function if trying to instantiate an abstract class
|
2017-08-04 19:46:09 +01:00 |
|
chriseth
|
eacc67c430
|
Three more tests for shadowing.
|
2017-08-04 19:08:20 +02:00 |
|
Alex Beregszaszi
|
32acadf43d
|
Do not mark overloaded functions as shadowing
|
2017-08-04 19:06:23 +02:00 |
|
Alex Beregszaszi
|
ef8c404c45
|
Fix tests to use unimplementedFunctions
|
2017-08-04 14:03:37 +01:00 |
|
Alex Beregszaszi
|
b7642dc8a7
|
Disallow gas modifier on sha255/ripemd160/ecrecover
|
2017-08-01 20:55:01 +01:00 |
|
Alex Beregszaszi
|
990b7364f5
|
Add test for disallowed gas/value modifiers on builtins
|
2017-08-01 00:03:25 +01:00 |
|
Alex Beregszaszi
|
53f747b7de
|
Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValue
Fix crash on assignment to non-LValue
|
2017-07-27 13:59:22 +01:00 |
|
chriseth
|
7c7c2baa82
|
Re-allow multiple modifiers per function.
|
2017-07-27 13:45:39 +02:00 |
|
chriseth
|
b8fc58850d
|
Test for assigning to non-lvalue.
|
2017-07-26 14:32:25 +02:00 |
|
Alex Beregszaszi
|
e0dc74b895
|
Warn about shadowing variables.
|
2017-07-25 16:32:37 +02:00 |
|
chriseth
|
72917c4f35
|
Cleanup fixed point type changes
|
2017-07-19 22:13:42 +01:00 |
|
VoR0220
|
78769f3b39
|
Change fixed point types to have digit count
Signed-off-by: VoR0220 <rj@erisindustries.com>
|
2017-07-19 21:49:01 +01:00 |
|
Alex Beregszaszi
|
6d6d4f6907
|
Merge pull request #2334 from ethereum/printMultiError
Print information about types of errors.
|
2017-07-19 21:25:36 +01:00 |
|
Alex Beregszaszi
|
e506129aee
|
Add test and changelog
|
2017-07-19 07:19:01 -07:00 |
|
chriseth
|
217a4ae7c1
|
Print information about types of errors.
|
2017-07-19 12:26:08 +01:00 |
|