chriseth
|
478f2997ea
|
Storage access from inline assembly.
|
2017-04-25 16:49:04 +02:00 |
|
chriseth
|
dfb7d5ebd9
|
Move analysis out of code generator.
|
2017-04-25 16:49:04 +02:00 |
|
chriseth
|
dfaab73efe
|
Only allow access to local variables and only if they have a stack size of one.
|
2017-04-25 16:49:04 +02:00 |
|
chriseth
|
83bf34c571
|
Review comments and cleanup.
|
2017-04-25 16:49:03 +02:00 |
|
chriseth
|
c6fa78c73e
|
Use actual type checking phase of assembler.
|
2017-04-25 16:49:03 +02:00 |
|
chriseth
|
e0849f2f3b
|
Split external identifier access into resolving and code generation.
|
2017-04-25 16:49:03 +02:00 |
|
chriseth
|
9bc9fe6af7
|
Warn about side-effect free statements.
|
2017-04-21 11:36:38 +02:00 |
|
chriseth
|
4792806b99
|
Fix: Contract inheriting from base with unimplemented constructor is abstract.
|
2017-03-21 18:12:08 +01:00 |
|
chriseth
|
5ced3af3a0
|
Visit structs only once.
|
2017-03-21 15:05:59 +01:00 |
|
Alex Beregszaszi
|
96c09fcbcd
|
Simplify interface checks for FunctionDefinition
|
2017-03-17 17:07:20 +00:00 |
|
Alex Beregszaszi
|
2067a00f22
|
Disallow private or internal functions in interfaces
|
2017-03-17 17:07:18 +00:00 |
|
Alex Beregszaszi
|
d5102c1db7
|
Disallow constructor in interfaces
|
2017-03-17 17:06:52 +00:00 |
|
Alex Beregszaszi
|
2c4bce2d62
|
Disallow enums in interfaces
|
2017-03-17 17:06:52 +00:00 |
|
Alex Beregszaszi
|
16a91ef90a
|
Use declared instead of defined
|
2017-03-17 17:06:52 +00:00 |
|
Alex Beregszaszi
|
4693aed177
|
Reject invalid definitions for interface contracts
|
2017-03-17 16:27:04 +00:00 |
|
Alex Beregszaszi
|
3ae88377d6
|
Change references to FunctionType::Location
|
2017-03-16 12:49:52 +00:00 |
|
chriseth
|
ab178b8bac
|
Mention 'transfer' in warning about unchecked 'send'.
|
2017-03-15 11:10:24 +01:00 |
|
chriseth
|
9f328ff749
|
Turn non-constant constants error into warning.
|
2017-03-14 19:25:16 +01:00 |
|
chriseth
|
592cec7e90
|
Disallow constants that are neither value types nor strings.
|
2017-03-13 13:30:23 +01:00 |
|
chriseth
|
14948e514d
|
Allow enum values for constants.
|
2017-03-13 13:30:23 +01:00 |
|
chriseth
|
f39763e91c
|
Type checking for pure expressions.
|
2017-03-13 13:30:21 +01:00 |
|
Yoichi Hirai
|
ef8b56a058
|
Merge pull request #1751 from ethereum/warnLiteralExpBase
Warn if base of exponentiation operation is a literal.
|
2017-03-10 19:25:47 +01:00 |
|
Yoichi Hirai
|
e364909e06
|
Merge pull request #1747 from ethereum/fixICEInternalConstructor
Move privateness of constructor into AST itself.
|
2017-03-08 17:49:14 +01:00 |
|
chriseth
|
3f9a775834
|
Merge pull request #1748 from ethereum/singletonArray
Use mobile type for singleton array.
|
2017-03-08 16:11:03 +01:00 |
|
chriseth
|
93ef7fd260
|
Disallow compound assignment for tuples.
|
2017-03-08 12:42:07 +01:00 |
|
Yoichi Hirai
|
a1e350a4ae
|
Merge pull request #1699 from ethereum/asmlabels
Assembly labels with stack information
|
2017-03-08 11:56:44 +01:00 |
|
chriseth
|
1324ebc4bf
|
Warn about literal constant base in exponentiation.
|
2017-03-07 13:44:11 +01:00 |
|
chriseth
|
2fcccb97d3
|
Merge pull request #1737 from ethereum/localmappings
Disallow uninitialized mapping variables.
|
2017-03-06 15:05:58 +01:00 |
|
chriseth
|
c500d9f717
|
Convert to mobile type for array type.
|
2017-03-06 14:42:28 +01:00 |
|
chriseth
|
c126edc6ea
|
Disallow uninitialized mapping variables.
|
2017-03-06 14:27:18 +01:00 |
|
chriseth
|
f300bdb020
|
Move public constructor property into AST itself.
|
2017-03-06 14:12:42 +01:00 |
|
chriseth
|
f521fd7b19
|
Mention way to remove warning.
|
2017-03-06 13:37:57 +01:00 |
|
chriseth
|
455e8a4ef8
|
Move lambda.
|
2017-03-03 15:41:02 +01:00 |
|
chriseth
|
25dcfa3480
|
Refactor CodeGen to recurse on blocks.
|
2017-03-03 15:41:01 +01:00 |
|
chriseth
|
cc01d870ff
|
Disallow variable declaration with inferred empty tuple type.
|
2017-03-02 14:33:58 +01:00 |
|
chriseth
|
c0961664f9
|
Deposit one stack item for non-value types in inline assembly type checking.
|
2017-02-20 12:33:22 +01:00 |
|
chriseth
|
a791ec75e2
|
Review comments.
|
2017-02-14 13:32:48 +01:00 |
|
chriseth
|
b1bb228ab3
|
Allow different entry scope for registerDeclarations.
|
2017-02-14 13:23:44 +01:00 |
|
chriseth
|
c87bafd2ed
|
Refactor type system to allow multiple entry points.
|
2017-02-14 13:23:44 +01:00 |
|
chriseth
|
1316bb7565
|
Warn about invalid checksums of addresses.
|
2017-01-24 23:37:48 +01:00 |
|
chriseth
|
0ef460461a
|
Check if constructor is public or not.
|
2017-01-20 19:22:39 +01:00 |
|
Yoichi Hirai
|
91d4e8e0ba
|
analysis: changes necessary to compile std/StandardToken.sol
|
2017-01-11 18:28:11 +01:00 |
|
Federico Bond
|
de720e643d
|
Improve error message when trying to modify constant variables
|
2016-12-13 00:32:37 -03:00 |
|
VoR0220
|
3f9f725737
|
Fix licensing headers
Signed-off-by: VoR0220 <rj@erisindustries.com>
|
2016-11-23 12:22:33 +01:00 |
|
chriseth
|
22b4d1b29a
|
Check that no internals are used in any external function type.
|
2016-11-16 14:37:18 +01:00 |
|
Yoichi Hirai
|
6c15757618
|
Type checker: move the burden of computing mobile type to commonType
This solves #621
|
2016-11-11 15:51:54 +01:00 |
|
chriseth
|
e00a4b47c0
|
Merge pull request #1264 from ethereum/988
State variable under contract's name
|
2016-10-25 12:50:24 +02:00 |
|
Yoichi Hirai
|
59f6c18c2b
|
analysis: determine if a member access on a contract is an l-value
|
2016-10-24 19:31:57 +02:00 |
|
chriseth
|
f25aa0c68b
|
More checks for missing mobile type.
|
2016-10-24 16:45:25 +02:00 |
|
Alex Beregszaszi
|
0dd75ac100
|
Use warning function in TypeChecker
|
2016-10-20 13:25:28 +01:00 |
|