Commit Graph

1796 Commits

Author SHA1 Message Date
collin
1dbdf23d5a use index map in compiler module 2020-12-07 12:18:20 -05:00
collin
05effde9b4 use index map in type-inference module 2020-12-07 12:17:26 -05:00
collin
6797a1e046 use index map in symbol-table module 2020-12-07 12:15:32 -05:00
collin
bcaf7d3e66 use index map in state module 2020-12-07 12:12:31 -05:00
collin
ae6ee186ad use index map in imports module 2020-12-07 12:10:42 -05:00
collin
5d2136b518 use index map in ast module 2020-12-07 12:05:55 -05:00
collin
5104985743 remove unused check 2020-12-07 11:34:45 -05:00
collin
ed4e094377 symbol table optimizations 2020-12-07 11:33:45 -05:00
collin
3b23eb595a return iterator instead of vector 2020-12-07 11:22:45 -05:00
Howard Wu
2c6496bc6e
Merge pull request #468 from AleoHQ/dependabot/cargo/serde_json-1.0.60
Bump serde_json from 1.0.59 to 1.0.60
2020-12-05 11:57:55 -04:00
Howard Wu
4682d05e58
Merge pull request #473 from AleoHQ/fix/update-handler
Fix early halting of leo commands due to updater checks
2020-12-05 10:35:11 -04:00
raychu86
1dc27584b5 Cargo clippy 2020-12-04 17:19:48 -08:00
collin
7745710dc4 cargo +nightly clippy 2020-12-04 19:06:29 -05:00
raychu86
9c5b34a14d Fix updater logic 2020-12-04 15:50:11 -08:00
raychu86
07547af3ae Add updater errors 2020-12-04 15:49:51 -08:00
collin
cd53cba77a fix circuit selftype error bug 2020-12-04 17:56:59 -05:00
collin
0f91630a9f merge function input self changes 2020-12-04 16:52:19 -05:00
dependabot-preview[bot]
1bf6a049c8
Bump serde_json from 1.0.59 to 1.0.60
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.59...v1.0.60)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 21:49:00 +00:00
collin
f1bd5399a1 cargo clippy 2020-12-04 16:47:03 -05:00
collin
0698f5df59 Merge branch 'master' of github.com:AleoHQ/leo into feature/circuit-self-input 2020-12-04 16:41:31 -05:00
Collin Chin
9bb04fd75a
Merge pull request #461 from AleoHQ/feat/clippy
Update ci.yml
2020-12-04 16:40:50 -05:00
collin
3a66d98919 use include_str in symbol-table and type-inference modules 2020-12-04 16:40:17 -05:00
collin
df271109c0 Merge branch 'master' of github.com:AleoHQ/leo into feat/clippy 2020-12-04 15:51:08 -05:00
collin
2352ebaf2c rename all bytes variables to string 2020-12-04 15:48:43 -05:00
collin
674caf5902 use include_str in all program tests 2020-12-04 15:34:51 -05:00
collin
7976c739e9 use include_str in program input + state tests 2020-12-04 15:20:59 -05:00
collin
675937ba13 use include_str in program input tests 2020-12-04 12:57:08 -05:00
collin
b2246f1151 use include_str in program state tests 2020-12-04 12:51:39 -05:00
howardwu
dbae691e49 chore(leo): bump version for new release 2020-12-03 16:16:42 -04:00
howardwu
47f9cd4b11 Merge branch 'master' of https://github.com/AleoHQ/leo 2020-12-03 15:59:01 -04:00
collin
87c0dd738a add test for bug #427 incomplete conditional 2020-12-03 13:44:47 -05:00
collin
dfcc77a860 add test for bug #430 early returns 2020-12-03 13:38:05 -05:00
collin
b94c70588e refactor execution of branch indicators and function returns 2020-12-03 13:24:23 -05:00
collin
4e9c2253fe fix failing clippy check 2020-12-02 12:36:50 -05:00
collin
4cb07d5cd3 add test for nested mutable value 2020-12-02 12:31:51 -05:00
collin
1217e9860e fix nested mutable value bug 2020-12-02 12:29:32 -05:00
collin
bac106b961 cargo clippy 2020-12-02 12:06:25 -05:00
ljedrz
e3bfcdaf84 perf(arithmetic): reuse some vectors used in mul and pow
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-12-02 12:34:47 +01:00
howardwu
74f7f24b19 chore(leo): bump version for new release 2020-12-01 22:57:11 -04:00
collin
7ce927ff78 remove unused branch 2020-12-01 15:43:35 -05:00
collin
d8c08fedd7 fix tests 2020-12-01 15:37:44 -05:00
Howard Wu
ced02462a0
Merge pull request #458 from AleoHQ/fix/array-type-inference
fixes array spread declaration type bug
2020-12-01 16:11:14 -04:00
collin
8457b05354 remove mut circuit variable definition 2020-12-01 11:54:51 -05:00
collin
7977b20ad2 remove mut variable keyword 2020-12-01 10:19:02 -05:00
collin
82e13edbbe pass mutable reference to circuit variable when 'mut self' keyword is present 2020-12-01 10:12:50 -05:00
collin
74f7749462 pass circuit members into function by value when self keyword is present 2020-11-30 17:54:41 -05:00
howardwu
a37aa7bae4 Update ci.yml 2020-11-30 18:06:46 -04:00
collin
04081beb4b move function input length check to type checking phase 2020-11-30 13:34:21 -05:00
collin
d4d5f336c4 refactor compiler to use new ast 2020-11-30 13:06:11 -05:00
Howard Wu
62e651ab11
Merge pull request #459 from AleoHQ/dependabot/cargo/self_update-0.22.0
Bump self_update from 0.20.0 to 0.22.0
2020-11-26 15:38:44 -04:00