chriseth
|
522174890f
|
Merge pull request #4872 from bakaoh/issue4716
Crash when array index value is too large
|
2018-09-05 21:47:42 +02:00 |
|
bakaoh
|
a7ffff6a29
|
Fix #4716: Crash when array index value is too large
|
2018-09-05 10:54:38 +07:00 |
|
bakaoh
|
3d7b0d691f
|
Update test to correct source location for nameless parameters
|
2018-08-31 09:54:11 +07:00 |
|
Leonardo Alt
|
583e7156ba
|
Dynamic type as mapping key returns error instead of assertion fail
|
2018-08-16 11:59:41 +02:00 |
|
chriseth
|
13905a2094
|
Update tests.
|
2018-08-14 18:53:06 +02:00 |
|
mingchuan
|
16de7a0493
|
New test cases.
|
2018-08-14 18:53:06 +02:00 |
|
chriseth
|
3f42118d19
|
Merge pull request #4765 from ethereum/fixes-issue-4673
[WIP] Fixes issue where computing storage size for a number would take too long (or even cause a crash).
|
2018-08-14 17:34:04 +02:00 |
|
Jesse Busman
|
c059119145
|
Add implicit convertibility to function pointer with higher state mutability
|
2018-08-14 17:13:10 +02:00 |
|
Christian Parpart
|
43bda53410
|
Fixes issue where computing storage size for a number would take too long.
Fixes #4673.
|
2018-08-14 15:38:10 +02:00 |
|
chriseth
|
3dd31b704a
|
Merge pull request #4798 from ethereum/mappingArgumentsAndReturns
Mapping arguments and returns
|
2018-08-13 17:27:29 +02:00 |
|
Daniel Kirchner
|
dfcfc4c35b
|
Add tests for mappings in function types.
|
2018-08-13 16:33:37 +02:00 |
|
Daniel Kirchner
|
341128962f
|
Allow mappings of arrays as arguments and return values of internal functions.
|
2018-08-13 16:33:37 +02:00 |
|
Daniel Kirchner
|
a9f31da411
|
Allow mapping arguments and return values in all internal functions.
|
2018-08-13 15:50:22 +02:00 |
|
Daniel Kirchner
|
57ada1d69e
|
Allow mapping arguments and return values in internal library functions.
|
2018-08-13 14:31:10 +02:00 |
|
Daniel Kirchner
|
7d7abeb149
|
Disallow ambiguous conversions between number literals and bytesXX types.
|
2018-08-13 14:27:01 +02:00 |
|
chriseth
|
9d03de1f25
|
Merge pull request #4671 from ethereum/mappingTupleAssignment
Disallow assignments to mappings within tuple assignments; allow for local variables.
|
2018-08-06 12:59:16 +02:00 |
|
Alex Beregszaszi
|
83e6c34526
|
Fix declaration suggestion for var with different number of components
|
2018-08-04 15:22:22 +01:00 |
|
Daniel Kirchner
|
1e4b5886d6
|
Allow assignments to local variables of mapping types.
|
2018-08-03 16:22:03 +02:00 |
|
Daniel Kirchner
|
c0a169ca90
|
Disallow assignments to mappings within tuple assignments.
|
2018-08-03 15:46:26 +02:00 |
|
Christian Parpart
|
cb200cf7e1
|
Adds positive/negative tests for checking error on cyclic dependency checker exhaustion
|
2018-08-01 12:04:08 +01:00 |
|
chriseth
|
c8232d9759
|
Disallow conversion between unrelated contract types.
|
2018-08-01 11:04:35 +01:00 |
|
Alex Beregszaszi
|
21888e246b
|
Merge pull request #4507 from ethereum/v050-var-keyword-trace-removals
Ensures an empty use of var keyword is caught with the proper non-fatal error message
|
2018-08-01 10:59:26 +01:00 |
|
Christian Parpart
|
a7150f85a6
|
Ensures an empty use of var keyword is caught with the proper error message.
|
2018-08-01 09:59:06 +02:00 |
|
Alex Beregszaszi
|
db6c1c8ddd
|
Remove unnecesary version pragma from some syntax tests
|
2018-07-31 00:12:42 +01:00 |
|
Alex Beregszaszi
|
de90290c28
|
Merge pull request #4527 from ethereum/mappingEnforceStorage
Enforces explicit data location for mappings
|
2018-07-23 20:43:38 +01:00 |
|
Erik Kundt
|
c622a1e56c
|
Enforces data location of local mappings to storage.
|
2018-07-23 19:30:07 +02:00 |
|
Leonardo Alt
|
faa9c221d4
|
Changes in ExpressionCompiler
|
2018-07-18 19:51:24 +02:00 |
|
Daniel Kirchner
|
62645d5302
|
Update tests.
|
2018-07-12 20:33:52 +02:00 |
|
Christian Parpart
|
cc585138bc
|
Generates a syntax error when declaring a variable declaration's LHS has no named components
|
2018-07-12 13:26:52 +02:00 |
|
chriseth
|
0c9645c978
|
Merge pull request #4480 from ethereum/fixZeroWithExponent
Fix literals with exponents with mantissa of zero.
|
2018-07-11 23:45:41 +02:00 |
|
Daniel Kirchner
|
dedf13633c
|
Split test case into failing and succeeding case.
|
2018-07-11 15:37:37 +02:00 |
|
Daniel Kirchner
|
e8e5e12ad2
|
Fix literals with exponents with mantissa of zero.
|
2018-07-11 15:34:17 +02:00 |
|
Christian Parpart
|
1505e28b56
|
semantics: Suggest auto-deduced type when user declares variable with var keyword.
|
2018-07-10 22:14:19 +02:00 |
|
Daniel Kirchner
|
ad47fe23c1
|
Update tests.
|
2018-07-10 15:28:05 +02:00 |
|
chriseth
|
4e8883b63d
|
Add emit keyword to tests.
|
2018-06-27 10:49:16 +02:00 |
|
Alex Beregszaszi
|
80b7d36187
|
Remove non-0.5.0 warning for emit keyword (make it mandatory)
|
2018-06-26 20:00:54 +02:00 |
|
Daniel Kirchner
|
5c59d56335
|
Disallow conversions between bytesX and uintY of different size.
|
2018-05-16 18:32:47 +02:00 |
|
Leonardo Alt
|
a19b516b2b
|
Add syntax tests and Changelog entry
|
2018-05-16 18:32:47 +02:00 |
|
chriseth
|
8debded743
|
Revert "BREAKING: Bool variables should not allow arithmetic comparison"
|
2018-05-02 15:56:59 +02:00 |
|
chriseth
|
42289b642f
|
Merge pull request #4003 from ethereum/bool_vars_comparison
BREAKING: Bool variables should not allow arithmetic comparison
|
2018-05-02 15:56:06 +02:00 |
|
Alex Beregszaszi
|
c44294d02d
|
Add syntax tests for bytesM
|
2018-04-30 13:02:02 +01:00 |
|
Leonardo Alt
|
d43436cfec
|
Add syntax tests and Changelog entry
|
2018-04-27 14:13:18 +02:00 |
|
Erik Kundt
|
896018c8a3
|
Treats inline array as an error.
|
2018-04-23 17:11:41 +02:00 |
|
Erik Kundt
|
b2ff9bc88d
|
Turns it into warning (error for 0.5.0) and adds Changelog entry.
|
2018-04-23 17:09:42 +02:00 |
|
Erik Kundt
|
f2b58de92c
|
Prevents null type from being used in tuple.
|
2018-04-22 16:54:33 +02:00 |
|
Alex Beregszaszi
|
754d79edfa
|
Disallow explicit conversion of bytesXX to contract
|
2018-04-19 15:58:14 +02:00 |
|
Erik Kundt
|
33fbf88707
|
Limits rational numbers to 4096 bits.
|
2018-04-16 11:45:55 +02:00 |
|