Mathias Baumann
|
66b24225fb
|
Remove duplicate if-check
|
2019-02-11 14:56:57 +01:00 |
|
Mathias Baumann
|
57c1c8b46c
|
Ensure function parameter names always matches parameter types length
|
2019-02-11 10:57:57 +01:00 |
|
Mathias Baumann
|
5fb79f5e37
|
Turn unreachable error statements into asserts
|
2019-02-07 10:07:09 +01:00 |
|
Mathias Baumann
|
9f431339ef
|
Fix crash for too large struct array indicies
|
2019-02-06 11:50:25 +01:00 |
|
Mathias Baumann
|
77f407d450
|
Fix check that mappings can only have storage location
|
2019-02-05 18:06:42 +01:00 |
|
Daniel Kirchner
|
610ef9f199
|
Disallow calldata structs.
|
2019-01-21 10:30:57 +01:00 |
|
Alex Beregszaszi
|
7b759866cb
|
Merge pull request #5817 from ethereum/refactoring
Refactoring in TypeChecker and ContractDefinition
|
2019-01-18 11:36:49 +00:00 |
|
Daniel Kirchner
|
b7a86a124d
|
Refactor TypeChecker::visit(FunctionDefinition const&).
|
2019-01-18 12:12:23 +01:00 |
|
Daniel Kirchner
|
a766efc79f
|
Add ContractDefinition::isInterface.
|
2019-01-18 12:11:35 +01:00 |
|
chriseth
|
2ec997e697
|
Merge pull request #5775 from ethereum/codeAccess
Provide access to code of contract types.
|
2019-01-18 00:16:06 +01:00 |
|
chriseth
|
4669b06ab4
|
Warn if type(..).runtimeCode is used with assembly in the constructor.
|
2019-01-17 20:36:48 +01:00 |
|
chriseth
|
0bfdaa500a
|
Add code access dependency.
|
2019-01-17 20:36:48 +01:00 |
|
chriseth
|
2fcfb216b5
|
Syntax for meta type information.
|
2019-01-17 20:36:48 +01:00 |
|
Leonardo Alt
|
83e7233bb8
|
Change error message and add tests
|
2019-01-17 14:28:03 +01:00 |
|
Leonardo Alt
|
c96b760c47
|
Return TypeError is fixed point encoding is attempted.
|
2019-01-17 13:36:53 +01:00 |
|
Daniel Kirchner
|
0dfd4a726e
|
Warn about unreachable code.
|
2019-01-10 10:36:50 +01:00 |
|
Christian Parpart
|
62fe57479e
|
make use of C++ = default constructor declarations as well as more non-static member initialization syntax.
|
2018-12-19 11:26:42 +01:00 |
|
Alex Beregszaszi
|
c2ec6d71b4
|
Add version pragma parsing to Parser
|
2018-12-18 15:02:35 +00:00 |
|
Leonardo Alt
|
36d8a98664
|
Sort includes in libsolidity/analysis
|
2018-12-17 12:35:16 +01:00 |
|
chriseth
|
87237281bf
|
Merge pull request #5630 from ethereum/warn_functions_empty_body
Supress unused var and state mut warnings for functions with empty body
|
2018-12-12 17:00:50 +01:00 |
|
Leonardo Alt
|
508aae8a67
|
Disable state mutability warning for functions with empty body
|
2018-12-12 14:43:44 +01:00 |
|
Leonardo Alt
|
53537864a2
|
Disable unused var warning for functions with empty body
|
2018-12-12 14:43:44 +01:00 |
|
Daniel Kirchner
|
788612d2ef
|
Refactoring of the ControlFlowGraph and use for detecting all uninitialized storage accesses.
|
2018-12-12 04:20:53 +01:00 |
|
chriseth
|
fb3a0ac1c7
|
Codegen for object access.
|
2018-12-11 19:24:44 +01:00 |
|
chriseth
|
baaefb4b42
|
Merge pull request #5619 from ethereum/cleanup-abc
Some code cleanup
|
2018-12-10 19:22:02 +01:00 |
|
Mathias Baumann
|
2f6dc2e773
|
Replace push_back with emplace_back where it makes sense
|
2018-12-10 19:02:39 +01:00 |
|
Yi Huang
|
81f703427e
|
Add tests for implcit conversions from literals to fixed-point numbers.
|
2018-12-10 17:31:20 +01:00 |
|
Erik Kundt
|
b2afb8cdda
|
Adds an additional message to failing type conversions.
|
2018-12-07 11:55:53 +01:00 |
|
Erik Kundt
|
05e74d096e
|
Introduces Result<T> for operator and implicit conversion type checks.
|
2018-12-05 10:33:34 +01:00 |
|
chriseth
|
99db4e3ff4
|
Introduce the concept of builtin functions.
|
2018-12-04 12:06:33 +01:00 |
|
chriseth
|
3f613a44ec
|
Merge pull request #5557 from ethereum/fixInterfaceImplementedByPublicStateVariable
Public state variables are implementing external functions.
|
2018-12-03 10:46:44 +01:00 |
|
chriseth
|
0668a9ecfb
|
Public state variables are implementing external functions.
|
2018-12-03 10:46:03 +01:00 |
|
chriseth
|
aaeb74f592
|
Merge pull request #5537 from ethereum/cp-SourceLocation-related-refactoring
[1/3] SourceLocation related refactoring.
|
2018-11-30 23:45:31 +01:00 |
|
Christian Parpart
|
c48a5264be
|
liblangutil: SourceLocation: adds (shared) pointer to underlying CharStream source, eliminating sourceName
Also, adapted affecting code to those changes.
|
2018-11-30 17:07:12 +01:00 |
|
chriseth
|
33d6a24c47
|
Move library related checks.
|
2018-11-30 16:30:20 +01:00 |
|
chriseth
|
4f992298c6
|
Move hash collisions checks.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
6d1644e55c
|
Move external type clash check.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
4f4f623273
|
Move fallback function checks.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
2a85152463
|
Move constructor checks.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
b610be4882
|
Rename functions.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
d1cc731843
|
No need to visit structs early.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
2c2c976697
|
Move base constructor argument checks.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
57a62429c9
|
Move abstract function check.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
89cf6a5a38
|
Move override checks.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
d054a3b85d
|
Move duplication checks.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
0bd9db480f
|
Add skeleton for contract level checker.
|
2018-11-30 16:30:19 +01:00 |
|
chriseth
|
c445e7dfa4
|
Disallow inline arrays of mapping type.
|
2018-11-29 19:45:06 +01:00 |
|
Leonardo Alt
|
67bbcefe6c
|
Report deprecation error on functions sha3 and suicide also without call.
|
2018-11-29 14:29:13 +01:00 |
|
hydai
|
9326adc3db
|
Replace IntegerType(256) with static function IntegerType::uint256()
|
2018-11-29 17:07:18 +08:00 |
|
chriseth
|
b4086ac870
|
Merge pull request #5526 from ethereum/fixGetterNewCoder
Fix: Disallow structs in getters for old encoder.
|
2018-11-28 17:05:52 +01:00 |
|