Yoichi Hirai
|
df5d5edd1b
|
test: add a test about explicitly converting a string literal to string
|
2016-11-25 13:54:13 +01:00 |
|
Yoichi Hirai
|
e136ec8704
|
ast: string literals that are not valid UTF are not convertible to strings
|
2016-11-25 13:36:06 +01:00 |
|
Yoichi Hirai
|
aaf58a8c4e
|
test: add a test case converting an invalid UTF-8 into a string
|
2016-11-25 13:13:47 +01:00 |
|
Yoichi Hirai
|
a81f556302
|
test: various fixes
|
2016-11-24 19:22:26 +01:00 |
|
Yoichi Hirai
|
384c4546f1
|
interface: move searchForSubstring out of Error class into a separate file
|
2016-11-24 16:45:17 +01:00 |
|
Yoichi Hirai
|
2faaddca05
|
interface: fix the substring search
|
2016-11-23 17:38:41 +01:00 |
|
Yoichi Hirai
|
cace51fc47
|
test: wrapping the error message checking in a macro
|
2016-11-23 17:38:41 +01:00 |
|
Yoichi Hirai
|
ab3db782ae
|
test: check the error texts
by changing parseAnalyseAndReturnError to return the whole Error, not just the type
|
2016-11-23 17:38:41 +01:00 |
|
chriseth
|
0c874bbf27
|
Merge pull request #1425 from ethereum/fixLicensing
Fix licensing headers
|
2016-11-23 12:45:57 +01:00 |
|
VoR0220
|
3f9f725737
|
Fix licensing headers
Signed-off-by: VoR0220 <rj@erisindustries.com>
|
2016-11-23 12:22:33 +01:00 |
|
Yoichi Hirai
|
75686e3d75
|
test: add a test case about returning a struct in memory from a library
This fixes #1378
|
2016-11-22 17:09:22 +01:00 |
|
Yoichi Hirai
|
f3d0433ec3
|
test: add a test about external function type taking/returning internal functions
|
2016-11-16 14:37:18 +01:00 |
|
chriseth
|
925d674146
|
Disallow payable internal functions.
|
2016-11-16 14:37:18 +01:00 |
|
chriseth
|
f21f794f3c
|
delete for function types
|
2016-11-16 14:37:18 +01:00 |
|
chriseth
|
87b148494b
|
Tests.
|
2016-11-16 14:37:18 +01:00 |
|
chriseth
|
6f19559de0
|
Fix some type checks and tests for internal / external function parameters.
|
2016-11-16 14:37:17 +01:00 |
|
chriseth
|
dd173f83e3
|
Code generator for function types.
|
2016-11-16 14:37:17 +01:00 |
|
chriseth
|
cc8583ec7d
|
Function types.
|
2016-11-16 14:37:17 +01:00 |
|
Yoichi Hirai
|
4b6e7e0677
|
test: add a test conerting an enum into another enum, which should fail
|
2016-11-11 17:48:03 +01:00 |
|
chriseth
|
63bde109a1
|
Fail if parsing fails in type checker tests.
|
2016-11-09 10:48:45 +01:00 |
|
Yoichi Hirai
|
88547a1c66
|
test: fix a typo in calling_payable test
|
2016-11-08 17:09:24 +01:00 |
|
Yoichi Hirai
|
578b02bb37
|
Add tests for #1246
|
2016-10-25 16:48:26 +02:00 |
|
chriseth
|
e00a4b47c0
|
Merge pull request #1264 from ethereum/988
State variable under contract's name
|
2016-10-25 12:50:24 +02:00 |
|
chriseth
|
6b028701a0
|
Test.
|
2016-10-24 16:43:08 +02:00 |
|
Yoichi Hirai
|
922e4b3ce7
|
test: add tests from #988
|
2016-10-24 16:34:52 +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
|
4b7fdaa0bd
|
test: add a test about accessing an enum member without the name of the enum
|
2016-10-21 13:01:45 +02:00 |
|
Yoichi Hirai
|
f967623a5b
|
test: add tests for #1131
The tests are about enum inheritance.
|
2016-10-21 13:01:45 +02:00 |
|
Alex Beregszaszi
|
13b2101ea7
|
Add tests for inline assembly in modifiers
|
2016-10-20 23:57:14 +01:00 |
|
Yoichi Hirai
|
6781ec105f
|
Add a test for #1151
|
2016-10-20 16:09:52 +02:00 |
|
Alex Beregszaszi
|
6cb2770344
|
Add two test cases for unbalanced inline assembly
|
2016-10-20 13:25:28 +01:00 |
|
Alex Beregszaszi
|
59603f7b8e
|
Add tests for constant shifts
|
2016-10-20 00:03:09 +01:00 |
|
Alex Beregszaszi
|
8317eb0383
|
Add test case for bound types without self
|
2016-10-19 10:40:45 +01:00 |
|
Alex Beregszaszi
|
aefb6e5fcf
|
Rename dev::sha3 to dev::keccak256
|
2016-10-06 14:53:40 +01:00 |
|
chriseth
|
031fd568cc
|
Fix crash for TypeName[k].
|
2016-09-15 18:16:34 +02:00 |
|
Alex Beregszaszi
|
65c4e65cb3
|
Tests for constructor visibility
|
2016-09-06 17:53:13 +02:00 |
|
Alex Beregszaszi
|
05ae5e4f5a
|
Tests for constant constructors
|
2016-09-06 17:31:39 +02:00 |
|
Alex Beregszaszi
|
6ec40b3cde
|
Reject constant modifier on the fallback function
|
2016-09-06 11:40:00 +01:00 |
|
chriseth
|
384f189a6a
|
Tests for payable / private combination.
|
2016-09-06 10:58:56 +02:00 |
|
chriseth
|
1eb7ddbb09
|
Make constant and payable mutually exclusive.
|
2016-09-05 21:28:28 +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 |
|
chriseth
|
02984b8de1
|
Require ";" after "_"
|
2016-09-05 14:54:50 +02:00 |
|
chriseth
|
459d2dd7cd
|
Fix version pragmas in tests.
|
2016-09-01 00:03:01 +02:00 |
|
chriseth
|
3c412ed2f6
|
Version pragma.
|
2016-09-01 00:02:51 +02:00 |
|
chriseth
|
546aca2a3e
|
Test cases.
|
2016-08-30 15:31:50 +02:00 |
|
chriseth
|
21b6aa92ff
|
Disallow fallback function to return values.
|
2016-08-26 00:07:50 +02:00 |
|
chriseth
|
15b85e2ea8
|
Fix tests.
|
2016-08-16 19:04:11 +02:00 |
|
chriseth
|
6df6728165
|
Require modifiers to contain "_".
|
2016-08-16 14:52:47 +02:00 |
|