Commit Graph
5130 Commits
Author SHA1 Message Date
Lu Guanqun 36a758e224 [cond-expr] fix the crash in ExpressionStatement 2016-01-22 17:14:00 +00:00
Lu Guanqun 08493589c1 fixup end to end test 2016-01-22 17:14:00 +00:00
Lu Guanqun 985744545a [cond-expr] add another parser expression 2016-01-22 17:14:00 +00:00
Lu Guanqun 9cd96222da [cond-expr] support conditional expression as lvalue 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
Lu Guanqun 0a45fe04f3 [cond-expr] add end to end test 2016-01-22 17:14:00 +00:00
Lu Guanqun ff4f1666ab [cond-expr] generate assembly for _ ? _ : _ 2016-01-22 17:14:00 +00:00
Lu Guanqun 047172eb9a [cond-expr] add type checker 2016-01-22 17:14:00 +00:00
Lu Guanqun f1d21552fc [cond-expr] add parser test cases 2016-01-22 17:14:00 +00:00
Lu Guanqun 7eefa838a3 [cond-expr] parse _ ? _ : _ into conditional AST node 2016-01-22 17:14:00 +00:00
Lu Guanqun 4563d4bd3c [cond-expr] add visitor related functions 2016-01-22 17:14:00 +00:00
Lu Guanqun 4fa0326813 [cond-expr] add an AST node 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 cb3e07acfc remove the unused line 2016-01-19 15:00:19 +00:00
chriseth d21c4276b3 Merge pull request #351 from chriseth/autoload
Automatically load imported files in solc.
2016-01-19 13:14:25 +01:00
Lu Guanqun df728581ce add another test case for continue not in loop 2016-01-19 03:24:58 +00:00
Lu Guanqun c8886ed5cf code changes according to Chris's comments 2016-01-19 02:16:13 +00:00
chriseth 02340e8464 Merge pull request #358 from chriseth/fix_storage
Test for incorrect storage access.
2016-01-18 14:16:44 +01:00
chriseth 96ea3c63f3 Fix: Copy empty state. 2016-01-18 10:57:03 +01:00
chriseth 0099513cd4 Merge pull request #347 from chriseth/libraryNameClashes
Detect library name clashes
2016-01-18 09:24:11 +01:00
chriseth 2c5d045729 Merge pull request #359 from LianaHus/sol_only_one_array_as_state_var
fixed ICError when creating EI for structs containing only mapping or arrays
2016-01-18 09:23:21 +01:00
Liana Husikyan 9613a94153 Update TypeChecker.cpp 2016-01-15 18:11:05 +01: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
chriseth a88835bbce Test for incorrect storage access. 2016-01-15 17:02:37 +01:00
chriseth 1b1b6651cd Fix sequence number bug.
This bug resulted in incorrect storage access in some situations.
The reason was that when intersecting states, the sequence numbers
were not handled and thus some operations with too low
sequence numbers were used during code generation.
2016-01-15 16:34:56 +01:00
chriseth cc4b4f5077 Merge pull request #357 from ethereum/unnecesary-move
Remove unnecesary std::move
2016-01-15 14:56:37 +01:00
Paweł Bylica 31863528a4 Remove unnecesary std::move 2016-01-15 14:04:18 +01:00
Lu Guanqun e130bc7e7c check whether break/continue is in the loop 2016-01-15 15:12:23 +08:00
chriseth 8f7c4e0cc2 Build fix for MacOS. 2016-01-14 14:47:32 +01:00
chriseth ca45cfee8c Merge pull request #306 from pipermerriam/piper/flesh-out-naming-conventions
Flesh out naming convention in the Style Guide
2016-01-14 11:38:56 +01:00
chriseth 206fc0968f Merge pull request #348 from chriseth/importDocs
Extended documentation about imports.
2016-01-14 11:37:00 +01:00
chriseth 17199edb4f Set error flag to true. 2016-01-14 11:36:13 +01:00
chriseth 2364c55735 Detect library name clashes. 2016-01-14 11:36:13 +01:00
chriseth 1cf6acca90 Tests for library name clashes. 2016-01-14 11:36:11 +01:00
chriseth 9ed15c40c6 Some more clarifications about remappings. 2016-01-13 17:35:38 +01:00
chriseth 154dd8cb02 Extended documentation about imports. 2016-01-13 17:35:05 +01:00
chriseth d2f18c73f7 Merge pull request #346 from chriseth/importAliases
Allow aliases during import.
2016-01-13 17:29:34 +01:00
chriseth 02c1aacd25 Merge pull request #345 from VoR0220/develop
Inline Arrays
2016-01-12 19:01:35 +01:00
chriseth cff368fb7c Merge pull request #350 from ethereum/chriseth-patch-1
Docs: Refund actual deposit, and not bid value.
2016-01-12 18:59:05 +01:00
RJ Catalano c45593a444 clarification on dynamic arrays, switcheroo on typepointer, and a documentation test added 2016-01-11 23:41:20 -06:00
chriseth 287f0a2ddf Autoload files in solc. 2016-01-12 01:05:05 +01:00
chriseth 3d66e5ad2e Refund actual deposit, and not bid value.
Thanks to @jonasnick for finding this.
Fixes #349
2016-01-12 00:47:23 +01:00
RJ Catalano b230fe1905 forgot to take the auto tabs off...turned into spaces 2016-01-11 15:48:41 -06:00
RJ Catalano 4a6815c9bd Merge branch 'develop' of https://github.com/ethereum/solidity into develop 2016-01-11 15:39:35 -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
chriseth f20a604c5a Allow aliases during import. 2016-01-11 13:56:02 +01:00
chriseth aa645d1192 Merge pull request #342 from chriseth/fix_crash
Fixed a crash during type checking.
2016-01-11 08:25:52 +01:00