chriseth
|
da36400576
|
Disallow visibility for constructors.
|
2020-07-07 11:49:44 +02:00 |
|
chriseth
|
e48d3e5847
|
Fix wording of error message.
|
2020-07-06 19:22:52 +02:00 |
|
chriseth
|
982a269b2b
|
Merge pull request #9325 from ethereum/develop
Merge develop into breaking.
|
2020-07-06 19:11:02 +02:00 |
|
chriseth
|
a09a791999
|
Merge pull request #9313 from ethereum/doesnt
[Trivial] Replace "doesn't" with "does not" in error message
|
2020-07-06 18:21:02 +02:00 |
|
chriseth
|
ab68406006
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-07-06 15:25:25 +02:00 |
|
a3d4
|
5e4aeaa460
|
Add variable name to the "Variable covers a large part of storage ...." message
|
2020-07-06 13:49:09 +02:00 |
|
Mathias Baumann
|
8cdf14f1b3
|
Replace "doesn't" with "does not" in error message
|
2020-07-06 13:44:33 +02:00 |
|
a3d4
|
1c7a0dcbea
|
Add warnings for oversized subtypes
|
2020-07-03 15:18:02 +02:00 |
|
a3d4
|
c2e1273ff4
|
Fixed recursive check in structureSizeEstimate
|
2020-07-02 04:14:58 +02:00 |
|
chriseth
|
d7899a31af
|
Fix merge conflict resolution.
|
2020-06-30 18:59:54 +02:00 |
|
chriseth
|
3e3f9a472f
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-30 18:56:51 +02:00 |
|
Mathias Baumann
|
c50f0ae00e
|
NatSpec: Implement default inheritance.
|
2020-06-30 14:45:13 +02:00 |
|
Harikrishnan Mulackal
|
d41eaeba56
|
Added containsNestedMapping()
|
2020-06-30 16:15:03 +05:30 |
|
Mathias Baumann
|
fe33891531
|
Natspec: Add warning when using @author with functions
|
2020-06-29 18:10:36 +02:00 |
|
chriseth
|
1441b97131
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-22 18:40:20 +02:00 |
|
chriseth
|
cd2cc76f20
|
Modules are pure.
|
2020-06-18 18:28:04 +02:00 |
|
chriseth
|
76468f19fe
|
Check if using for refers to a library earlier.
|
2020-06-17 17:45:40 +02:00 |
|
chriseth
|
71cb7551f4
|
Merge pull request #9208 from ethereum/develop
Merge develop into breaking.
|
2020-06-16 16:11:41 +02:00 |
|
chriseth
|
8086ddd3bd
|
Merge pull request #9189 from ethereum/simplifyResolver
Simplify inline assembly resolver.
|
2020-06-16 15:31:21 +02:00 |
|
chriseth
|
5fdbb5c3e3
|
Simplify inline assembly resolver.
|
2020-06-15 18:10:18 +02:00 |
|
chriseth
|
8155ad2187
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-15 17:11:41 +02:00 |
|
chriseth
|
b4c6fdb1ed
|
Merge pull request #8749 from aarlt/structured-docs-variables-aarlt-breaking
[BREAKING] Allow NatSpec comments for state variables.
|
2020-06-15 14:47:29 +02:00 |
|
chriseth
|
194c2b8c9c
|
Directly determine if experimental feature active.
|
2020-06-12 12:18:48 +02:00 |
|
chriseth
|
07c1167136
|
Refactor name and type resolution.
|
2020-06-12 12:18:02 +02:00 |
|
chriseth
|
a1165c135d
|
Fix error codes.
|
2020-06-10 18:27:37 +02:00 |
|
chriseth
|
7908e6c373
|
Fix compiler error.
|
2020-06-10 18:23:19 +02:00 |
|
chriseth
|
6b3171c38b
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-10 11:30:50 +02:00 |
|
Djordje Mijovic
|
c6e4943089
|
Adding fixes for signedness warnings in libsolidity
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2020-06-10 10:41:55 +02:00 |
|
chriseth
|
062159214c
|
Rename scope to currentContract.
|
2020-06-09 18:19:09 +02:00 |
|
chriseth
|
e5c19d8a2c
|
Replace inContractKind by libraryFunction.
|
2020-06-09 17:56:58 +02:00 |
|
chriseth
|
259292c884
|
Merge pull request #9118 from ethereum/develop
Merge develop into breaking.
|
2020-06-04 10:18:46 +02:00 |
|
Mathias Baumann
|
6f8b5fe53b
|
Disallow override with non-public state variables
|
2020-06-03 14:03:26 +02:00 |
|
chriseth
|
c8b9d24eba
|
Merge pull request #9106 from ethereum/develop
Merge develop into breaking.
|
2020-06-03 13:51:28 +02:00 |
|
chriseth
|
c07254f5ac
|
Merge pull request #9055 from ethereum/issue-8881
Output error when forward referencing constants in inline assembly
|
2020-06-02 17:10:56 +02:00 |
|
chriseth
|
0e11d468cc
|
Merge pull request #9064 from ethereum/FixedPointType-solAssert
Added an assert for FixedPointType in InlineAssembly
|
2020-06-02 16:57:46 +02:00 |
|
Mathias Baumann
|
bdc2c63327
|
Output error when forward referencing constants in inline assembly
|
2020-06-02 14:37:54 +02:00 |
|
Harikrishnan Mulackal
|
0bc9f772e7
|
Added an assert for FixedPointType in InlineAssembly
|
2020-06-02 13:31:10 +05:30 |
|
Mathias Baumann
|
a846c18e67
|
Fix failure to find overload resolution when overrides are involved
|
2020-05-27 18:31:56 +02:00 |
|
chriseth
|
894478ff8c
|
Merge pull request #9038 from ethereum/develop
Merge develop into breaking.
|
2020-05-27 15:24:27 +02:00 |
|
chriseth
|
afa873fe9f
|
Merge pull request #8913 from ethereum/yul-remove-pc-instr
Mark EVM instruction `pc()` as deprecated when used in inline assembly.
|
2020-05-27 12:10:32 +02:00 |
|
Christian Parpart
|
b7fa5d5040
|
Mark EVM instruction pc() as deprecated when used in inline assembly.
|
2020-05-27 12:07:23 +02:00 |
|
chriseth
|
1bf706085d
|
Merge pull request #9030 from ethereum/issue-8923
Fix ICE when trying to decode too large static arrays
|
2020-05-27 11:45:39 +02:00 |
|
Mathias Baumann
|
884e7cbffc
|
Fix ICE when trying to decode too large static arrays
|
2020-05-26 19:36:18 +02:00 |
|
Alexander Arlt
|
cb5bfc7436
|
Update natspec comments on state variables.
- changing some warnings to errors
|
2020-05-26 11:18:24 -05:00 |
|
chriseth
|
d0b6de580f
|
Disallow non-namable types for inline arrays.
|
2020-05-26 18:17:35 +02:00 |
|
chriseth
|
d989dfd43f
|
Merge pull request #9027 from ethereum/issue-8265
Fix ICE by avoiding copyForLocation() on ArraySliceType
|
2020-05-26 17:49:11 +02:00 |
|
Mathias Baumann
|
b3cafe4583
|
Fix ICE by avoiding copyForLocation() on ArraySliceType
|
2020-05-26 17:27:46 +02:00 |
|
Harikrishnan Mulackal
|
21e34d7ca9
|
Fixed seed for randomness, fixed conflicts in errorids
|
2020-05-26 18:21:47 +05:30 |
|
chriseth
|
5fedb4eab0
|
Merge pull request #9001 from a3d4/partfix-5819-refactor-typechecker
Refactor TypeChecker to assign different IDs to different errors
|
2020-05-26 11:59:54 +02:00 |
|
chriseth
|
9604174151
|
Rename asCallableFunction.
|
2020-05-26 11:35:12 +02:00 |
|
chriseth
|
33450619b1
|
Checks for uninitialized access to calldata variables.
|
2020-05-26 10:51:13 +02:00 |
|
chriseth
|
69a028b49c
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-05-26 10:11:23 +02:00 |
|
a3d4
|
936ea6f950
|
Refactor TypeChecker to assign different IDs to different errors
|
2020-05-25 13:40:14 +02:00 |
|
a3d4
|
5870253b00
|
Shorten a couple of lines
|
2020-05-21 17:38:47 +02:00 |
|
a3d4
|
38e65a909a
|
Remove DocStringAnalyzer and DocStringParser class-specific error reporting functions
|
2020-05-21 00:26:14 +02:00 |
|
a3d4
|
66a8c7d1ab
|
Remove ReferencesResolver class-specific error reporting functions
|
2020-05-21 00:04:26 +02:00 |
|
a3d4
|
3a75b1da4d
|
Remove DeclarationTypeChecker class-specific error reporting functions
|
2020-05-20 23:56:25 +02:00 |
|
chriseth
|
74b9b094c0
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-05-20 17:22:47 +02:00 |
|
a3d4
|
6bb177ce77
|
Remove dedicated error flags from DocStringParser and DocStringAnalyser
|
2020-05-20 04:17:49 +02:00 |
|
a3d4
|
6dbf23d52a
|
Remove a dedicated error flag from ReferencesResolver
|
2020-05-20 04:08:32 +02:00 |
|
chriseth
|
d422a406ba
|
Merge pull request #8983 from ethereum/develop
Merge develop into breaking.
|
2020-05-19 18:05:28 +02:00 |
|
Alexander Arlt
|
af8bb5fb60
|
Allow natspec comments on state variables.
|
2020-05-19 11:01:52 -05:00 |
|
Erik Kundt
|
7d37ed4531
|
Adds structured docs for variable declarations.
- adds natspec generation for state variables.
- exports structured docs for state variables to JSON.
|
2020-05-19 11:01:52 -05:00 |
|
Djordje Mijovic
|
bd64b971b9
|
Fixing tests on breaking branch.
|
2020-05-19 17:42:19 +02:00 |
|
Harikrishnan Mulackal
|
774edd4670
|
Error when Mapping type in (non-local) storage is assigned to
|
2020-05-19 19:12:38 +05:30 |
|
chriseth
|
993a7941b1
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-05-14 17:24:40 +02:00 |
|
chriseth
|
e751a1c23d
|
Move scopes into resolver.
|
2020-05-14 13:16:47 +02:00 |
|
chriseth
|
257bc6a416
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-05-14 13:04:46 +02:00 |
|
Daniel Kirchner
|
6f04664cfa
|
Disallow array slicing for arrays with dyanmically encoded base types.
|
2020-05-13 15:52:22 +02:00 |
|
a3d4
|
02d1f8c41a
|
Remove a dedicated error flag from DeclarationTypeChecker
|
2020-05-12 18:13:17 +02:00 |
|
chriseth
|
0be56a0abf
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-05-12 17:48:53 +02:00 |
|
chriseth
|
077cab0860
|
Merge pull request #8902 from a3d4/partfix-5819-add-more-error-ids
Add error IDs to OverrideChecker, BMC and ContractLevelChecker
|
2020-05-12 13:22:42 +02:00 |
|
a3d4
|
02eee54f38
|
Add error IDs to ContractLevelChecker
|
2020-05-12 11:42:29 +02:00 |
|
a3d4
|
1d5350e32f
|
Add error IDs to OverrideChecker
|
2020-05-12 02:26:02 +02:00 |
|
Daniel Kirchner
|
c1ed5bbb0f
|
Update Dockerfiles and CI scripts to Ubuntu 20.04 and simplify them.
|
2020-05-11 17:35:01 +02:00 |
|
chriseth
|
debee799dc
|
Merge pull request #8892 from ethereum/boost-cxx11
Replace boost/algorithm/cxx11 with C++11 features
|
2020-05-11 16:29:42 +02:00 |
|
chriseth
|
e2f7e8a3a7
|
Merge pull request #8890 from ethereum/fixclangv10
Fix clang v10 compilation errors
|
2020-05-11 15:39:09 +02:00 |
|
Alex Beregszaszi
|
875415a132
|
Replace boost/algorithm/cxx11 with C++11 features
|
2020-05-11 14:27:54 +01:00 |
|
chriseth
|
0248303c15
|
Merge pull request #8872 from ethereum/int-min-max
implemented type(X).min and type(X).max for all integer types
|
2020-05-11 15:08:19 +02:00 |
|
Mathias Baumann
|
fe43132003
|
Fix clang v10 compilation errors
|
2020-05-11 14:59:51 +02:00 |
|
Harikrishnan Mulackal
|
e54c4eecfc
|
implemented type(X).min and type(X).max for all integer types
|
2020-05-11 14:51:13 +05:30 |
|
chriseth
|
aa7684fb54
|
Merge pull request #8864 from a3d4/fix-error-reporting-source-code-format
Fix error reporting source code format
|
2020-05-07 20:15:51 +02:00 |
|
Mathias Baumann
|
50e59f1008
|
trigger error when runtimeCode is called on contracts with immutables
|
2020-05-07 15:10:04 +02:00 |
|
a3d4
|
7e1835af71
|
Fix error reporting source code format
|
2020-05-07 04:46:02 +02:00 |
|
chriseth
|
6fb112fa8e
|
Remove some unneeded headers.
|
2020-05-07 01:49:46 +02:00 |
|
a3d4
|
8f68c04358
|
Add unique IDs to error reporting calls
|
2020-05-06 13:53:46 +02:00 |
|
a3d4
|
e3641b88ec
|
Groundwork. Prepare for automatic tagging
[Not compilable until the next commit]
|
2020-05-06 13:52:28 +02:00 |
|
Harikrishnan Mulackal
|
b5612f96c9
|
Deprecated identifier now
|
2020-05-05 21:11:15 +05:30 |
|
chriseth
|
ecbf216354
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-05-04 18:46:45 +02:00 |
|
a3d4
|
3bd15655cb
|
Type Checker: Fix internal error when applying unary operators to tuples with empty components
|
2020-04-29 02:18:48 +02:00 |
|
chriseth
|
1fe55370f4
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-04-28 13:02:06 +02:00 |
|
hrkrshnn
|
051eec5c51
|
Converted warnings for .gas and .value into an error
|
2020-04-23 21:02:02 +05:30 |
|
hrkrshnn
|
e2e32d372f
|
virtual modifiers (in Abstract contracts) allow empty bodies
|
2020-04-23 17:26:59 +05:30 |
|
chriseth
|
a371910674
|
Merge pull request #8642 from ethereum/interfaceid
Add support for interfaceId.
|
2020-04-23 12:24:49 +02:00 |
|
a3d4
|
c4bc77874b
|
Disallow empty tuples on the left hand side
|
2020-04-23 07:02:04 +02:00 |
|
a3d4
|
9538024c81
|
Fix #8711, #8277
|
2020-04-23 05:57:35 +02:00 |
|
chriseth
|
6728e3ef94
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-04-22 17:21:32 +02:00 |
|
chriseth
|
264c4264a1
|
Merge pull request #8644 from ethereum/refactor-lValueRequested
Replaced all instances of lValueRequested to willBeWrittenTo
|
2020-04-20 15:03:50 +02:00 |
|
chriseth
|
c24c4f85e4
|
Merge pull request #8665 from ethereum/recursiveStructRefactoring
Recursive struct refactoring and a bunch of ICE fixes.
|
2020-04-20 13:24:19 +02:00 |
|
hrkrshnn
|
4760b8589d
|
Replaced all instances of lValueRequested to willBeWrittenTo
|
2020-04-20 12:33:30 +05:30 |
|