chriseth
|
e6b6e27bd7
|
Some more tests.
|
2016-05-03 22:48:53 +02:00 |
|
chriseth
|
6f54b13d7a
|
Remove log.h from solidity.
|
2016-04-12 01:03:46 +02:00 |
|
VoR0220
|
427b9557d6
|
added solidity invalid fixed type test
|
2016-03-30 11:54:00 -05:00 |
|
Bob Summerwill
|
a1ce66b304
|
Fixed Windows warnings
|
2016-03-18 01:22:15 -07:00 |
|
RJ Catalano
|
d0054a8d29
|
added keyword type and some tests, changes in lexical cast
|
2016-03-11 17:50:09 +01:00 |
|
chriseth
|
e5514becb8
|
BREAKING: Implement delegatecall and make default for library calls.
|
2016-03-11 17:49:32 +01:00 |
|
RJ Catalano
|
9b67969fd6
|
further optimization, splitting function into pieces
generating strings on the fly, changed name, and added two tests
|
2016-02-18 11:23:00 -06:00 |
|
RJ Catalano
|
84f2eb461b
|
added two functions in Token to handle long identifiers, redid fromIdentifierOrKeyword, and made complementary changes in scanner and parser
|
2016-02-18 11:22:58 -06:00 |
|
RJ Catalano
|
f4da126018
|
tests added and changes made
fixed some silly problems in Token.cpp
windows error fix
|
2016-02-18 11:22:56 -06:00 |
|
RJ Catalano
|
7b918a7bc7
|
changes to redefine the token list, the scanner, and the parser and how they pass around variable types of different sizes
not ready for change to FixedPoint just yet
made this more const correct and added a switch statement for easier reading
|
2016-02-18 11:22:52 -06:00 |
|
chriseth
|
23074150f4
|
Test for segfault when using wrong number of constructor arguments.
|
2016-02-11 17:12:28 +01:00 |
|
chriseth
|
29faf1b298
|
Index access for bytesXX.
|
2016-02-09 17:07:04 +01:00 |
|
Lu Guanqun
|
5840a3513f
|
cond-expr: add more unit tests
|
2016-01-22 17:14:01 +00:00 |
|
Lu Guanqun
|
bf7daf0814
|
[cond-expr] don't allow conditional as left value for the first stage
|
2016-01-22 17:14:00 +00:00 |
|
Lu Guanqun
|
4471a2ce3b
|
[cond-expr] add test cases for type resolution
|
2016-01-22 17:14:00 +00:00 |
|
chriseth
|
67c855c583
|
Merge pull request #356 from guanqun/break-not-in-loop
check whether break/continue is in the loop
|
2016-01-20 19:23:23 +01:00 |
|
Lu Guanqun
|
df728581ce
|
add another test case for continue not in loop
|
2016-01-19 03:24:58 +00:00 |
|
Liana Husikyan
|
7e511f93af
|
Update SolidityNameAndTypeResolution.cpp
|
2016-01-15 18:03:51 +01:00 |
|
Liana Husikyan
|
738b254001
|
Update SolidityNameAndTypeResolution.cpp
|
2016-01-15 17:41:56 +01:00 |
|
LianaHus
|
b2daa5a9d8
|
fixed assert on EI creation for structs containing only mapping or arrays
|
2016-01-15 17:36:06 +01:00 |
|
Lu Guanqun
|
e130bc7e7c
|
check whether break/continue is in the loop
|
2016-01-15 15:12:23 +08:00 |
|
RJ Catalano
|
c45593a444
|
clarification on dynamic arrays, switcheroo on typepointer, and a documentation test added
|
2016-01-11 23:41:20 -06:00 |
|
RJ Catalano
|
9c29cf79cf
|
added documentation and one last test for struct creation inline
|
2016-01-11 15:36:30 -06:00 |
|
RJ Catalano
|
ac664e7f86
|
final changes to typechecker, the expression compiler, and a couple more tests for good measure
|
2016-01-11 14:25:59 -06:00 |
|
RJ
|
c348791fa1
|
Update SolidityNameAndTypeResolution.cpp
|
2016-01-10 21:55:30 -06:00 |
|
RJ
|
10a1c352b9
|
Update with type resolution tests for arrays
|
2016-01-10 01:07:02 -06:00 |
|
chriseth
|
2466fb68a0
|
Merge pull request #308 from chriseth/fixoverloadbug
Fix bug preventing overloads of different array types.
|
2015-12-21 15:37:51 +01:00 |
|
chriseth
|
54e3637d23
|
Add structs and enums to contract types.
|
2015-12-18 16:50:14 +01:00 |
|
chriseth
|
79c5d032fe
|
Fix bug preventing overloads of different array types.
|
2015-12-18 13:56:37 +01:00 |
|
RJ Catalano
|
f7a1860abd
|
forgot about this one...again making this purely about parsing...typechecking will come another day
|
2015-12-16 13:35:28 -06:00 |
|
RJ Catalano
|
df41812442
|
making this purely about parsing...type checking will go in a different PR
|
2015-12-16 13:23:05 -06:00 |
|
RJ Catalano
|
9ab066de8c
|
new tests
|
2015-12-15 14:47:09 -06:00 |
|
chriseth
|
f9e52c9db1
|
Also check the object type for bound functions.
|
2015-11-29 00:16:07 +01:00 |
|
chriseth
|
93b3237c6a
|
Add bound functions to types.
|
2015-11-29 00:16:07 +01:00 |
|
chriseth
|
d71cd3aa2b
|
Added the using x for y directive.
|
2015-11-26 17:49:39 +01:00 |
|
chriseth
|
bf55aa6ae2
|
Type checking for creating new arrays.
|
2015-11-26 13:10:12 +01:00 |
|
chriseth
|
30b325fdc1
|
Allow "new expressions" also for general type names.
Breaking change: If you want to send value with a contract creation, you
have to use parentheses now:
`(new ContractName).value(2 ether)(arg1, arg2)`
|
2015-11-26 13:10:12 +01:00 |
|
chriseth
|
9ef67bc756
|
Fix segfault during test.
|
2015-11-16 16:32:09 +01:00 |
|
LianaHus
|
da47f9df7b
|
style fixes
|
2015-11-06 20:56:14 +01:00 |
|
LianaHus
|
63060fc1f0
|
fixed test framework
|
2015-11-06 18:45:06 +01:00 |
|
chriseth
|
e3dffb611f
|
File reorganisation.
|
2015-10-21 00:46:01 +02:00 |
|
chriseth
|
87079bd3fd
|
Correctly parse ambiguities like A.B[10] x and x.y[10] = 3 .
|
2015-10-16 16:12:25 +02:00 |
|
chriseth
|
1d4219d43d
|
Some fixes taking other pull requests into account.
|
2015-10-15 18:14:14 +02:00 |
|
chriseth
|
7ebd536e79
|
Tuple expressions.
|
2015-10-15 17:38:42 +02:00 |
|
LianaHus
|
292fb473bf
|
renaming in test framework
|
2015-10-15 16:46:02 +02:00 |
|
LianaHus
|
771f20b595
|
mainly style fixes/renaming
|
2015-10-15 14:36:23 +02:00 |
|
LianaHus
|
0d0fd31fbf
|
fix
|
2015-10-15 12:16:10 +02:00 |
|
LianaHus
|
675aed1edf
|
fixed new tests
|
2015-10-15 11:50:25 +02:00 |
|
LianaHus
|
c3491e4469
|
errors instead of exceptions
Conflicts:
libsolidity/CompilerStack.cpp
libsolidity/NameAndTypeResolver.cpp
libsolidity/NameAndTypeResolver.h
libsolidity/TypeChecker.cpp
test/libsolidity/SolidityNameAndTypeResolution.cpp
|
2015-10-14 20:37:41 +02:00 |
|
chriseth
|
72f7792f8e
|
Some further test fixes.
|
2015-10-13 14:31:24 +02:00 |
|