chriseth
|
f25aa0c68b
|
More checks for missing mobile type.
|
2016-10-24 16:45:25 +02:00 |
|
chriseth
|
2b00804d1d
|
Fix crash in throw.
|
2016-10-24 14:32:49 +02:00 |
|
chriseth
|
cb1fcaf6f6
|
Merge pull request #1240 from ethereum/1151
ast: super contract type does not contain native members
|
2016-10-24 11:45:54 +02:00 |
|
Yoichi Hirai
|
9d9380d30e
|
ast: add a null check
|
2016-10-21 13:01:45 +02:00 |
|
Yoichi Hirai
|
83e8fdecc5
|
ast: ContractDefinition::inheritableMembers contains enums as well as structs
This fixes #1131
|
2016-10-21 13:01:45 +02:00 |
|
Alex Beregszaszi
|
7b0fb5d06b
|
Support variable references within modifiers for inline assembly
|
2016-10-20 23:45:13 +01:00 |
|
Yoichi Hirai
|
7887045a48
|
ast: simplifications suggested by @chriseth
|
2016-10-20 16:09:52 +02:00 |
|
Yoichi Hirai
|
ff9039b2a8
|
When a contract type is super, its members do not contain the functions of itself
Fixes #1151
|
2016-10-20 16:09:52 +02:00 |
|
Alex Beregszaszi
|
7ac27c957e
|
Use >> (SAR) to denote constant shifts
|
2016-10-20 00:03:09 +01:00 |
|
Alex Beregszaszi
|
33250eef9e
|
Reject negative shifts within constants
|
2016-10-20 00:03:09 +01:00 |
|
RJ
|
48f2028911
|
Support shifting constants
|
2016-10-20 00:03:09 +01:00 |
|
Alex Beregszaszi
|
fdd1108c1c
|
Omit non-convertible bound functions
|
2016-10-19 10:41:04 +01:00 |
|
Alex Beregszaszi
|
003359a0b6
|
Ensure that bound functions cannot be defined without self type
|
2016-10-19 10:41:04 +01:00 |
|
Yoichi Hirai
|
d2470a3e39
|
super 's size on stack is zero, because the expression compiler does not push an address.
This is different from `this`, which is translated to `ADDRESS` instruction.
|
2016-10-18 14:17:49 +02:00 |
|
Yoichi Hirai
|
8e11bac8de
|
Check if a fixedBytes fits an integer type
before looking up the size of the integer type.
Fixes #1150.
|
2016-10-13 20:17:13 +02:00 |
|
Alex Beregszaszi
|
aefb6e5fcf
|
Rename dev::sha3 to dev::keccak256
|
2016-10-06 14:53:40 +01:00 |
|
Alex Beregszaszi
|
2d9c407456
|
Include assert for selfType on bound functions to avoid crash
|
2016-09-06 22:10:51 +01:00 |
|
chriseth
|
f687635e47
|
Merge pull request #665 from axic/feature/accept-ether
BREAKING: Add payable modifier
|
2016-09-06 12:25:19 +02:00 |
|
chriseth
|
9c64edf110
|
Change function type to include and propagate payable and constant modifier.
|
2016-09-05 21:28:28 +02:00 |
|
Alex Beregszaszi
|
962531af96
|
Merged in changes from chriseth/payable
|
2016-09-05 21:28:28 +02:00 |
|
Alex Beregszaszi
|
a34f2f1a31
|
Support payable keyword for functions
|
2016-09-05 21:28:18 +02:00 |
|
chriseth
|
ada31fa9b7
|
Do not emit non-utf8 strings for ast json.
|
2016-09-02 00:22:03 +02:00 |
|
chriseth
|
3c412ed2f6
|
Version pragma.
|
2016-09-01 00:02:51 +02:00 |
|
chriseth
|
35276d99e0
|
JSON AST: Some attribute cleanup. Add linearized base contracts.
|
2016-08-19 13:05:12 +02:00 |
|
Alex Sinyagin
|
4b9eb299d0
|
Rename root AST JSON node to SourceUnit
|
2016-08-18 15:38:20 +00:00 |
|
Alex Sinyagin
|
4387d8bbe3
|
Do not add children to EnumValue and PlaceholderStatement elements in JSON AST
|
2016-08-18 13:29:44 +00:00 |
|
Alex Sinyagin
|
9139d763d3
|
Use the full names for JSON AST nodes
|
2016-08-18 13:12:15 +00:00 |
|
Alex Sinyagin
|
5061eb2b2b
|
Move creation of the root element of JSON AST to the SourceUnit visitor
|
2016-08-18 12:51:17 +00:00 |
|
Alex Sinyagin
|
406f3a4b5d
|
Add ast json converter for PlaceholderStatement
|
2016-08-18 12:30:00 +00:00 |
|
Alex Sinyagin
|
e9c894c9f8
|
Add ast json converter for ArrayTypeName
|
2016-08-18 12:30:00 +00:00 |
|
Alex Sinyagin
|
bdc2436ae3
|
Add ast json converter for ModifierInvocation and EventDefinition
|
2016-08-18 12:30:00 +00:00 |
|
Alex Sinyagin
|
a5d15e6895
|
Add ast json converter for ModifierDefinition
|
2016-08-18 12:29:59 +00:00 |
|
Alex Sinyagin
|
95832da16e
|
Add ast json converter for EnumValue
|
2016-08-18 12:29:59 +00:00 |
|
Alex Sinyagin
|
a9e04217a4
|
Add ast json converter for EnumDefinition
|
2016-08-18 12:29:59 +00:00 |
|
Alex Sinyagin
|
40ca2c9e97
|
Add ast json converter for UsingForDirective
|
2016-08-18 12:29:59 +00:00 |
|
Alex Sinyagin
|
9e7fc12463
|
Add a ast json converter for InheritanceSpecifier
|
2016-08-18 12:29:59 +00:00 |
|
chriseth
|
0d894a6832
|
Merge pull request #844 from Denton-L/remove-after
BREAKING: Remove after
|
2016-08-12 15:09:55 +02:00 |
|
Alex Sinyagin
|
cbedc7b343
|
Fix Mapping and InlineAssembly in JSON AST
|
2016-08-11 17:00:19 +00:00 |
|
Alex Sinyagin
|
a7ff352d38
|
Fix JSON AST structure
|
2016-08-11 17:00:19 +00:00 |
|
Denton Liu
|
faf0b3f669
|
Remove After from Types.cpp
|
2016-08-11 10:15:59 -04:00 |
|
chriseth
|
55858de1e9
|
Merge pull request #794 from chriseth/fixastsource
Fix segfault in ast output.
|
2016-08-10 16:58:17 +02:00 |
|
Alex Beregszaszi
|
5d9347f022
|
Remove dev::utf8 namespace
|
2016-08-08 20:05:31 +01:00 |
|
Alex Beregszaszi
|
f1df3dee53
|
Use size_t in dev::utf8::validate()
|
2016-08-08 20:05:31 +01:00 |
|
Alex Beregszaszi
|
e8c2e87397
|
Use utf8::validate in StringLiteral::toString
|
2016-08-08 19:57:41 +01:00 |
|
Alex Beregszaszi
|
bf76321c9e
|
Move LiteralString::toString from the header
|
2016-08-08 19:08:31 +01:00 |
|
chriseth
|
ac8e726970
|
Fix segfault in ast output.
|
2016-08-08 19:10:17 +02:00 |
|
chriseth
|
c55584d3e2
|
Source location as part of AST.
|
2016-07-20 19:45:43 +02:00 |
|
chriseth
|
754a992500
|
Inaccessible dynamic types
|
2016-06-02 12:52:25 +02:00 |
|
chriseth
|
708129abd5
|
Fixes for invalid cleanups for small types.
|
2016-05-20 16:52:40 +02:00 |
|
VoR0220
|
9192357452
|
updated docs
types
reference
|
2016-05-18 16:36:05 -05:00 |
|