Commit Graph

1669 Commits

Author SHA1 Message Date
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
dependabot-preview[bot]
a5a311f3e2
Bump self_update from 0.20.0 to 0.22.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-26 10:49:43 +00:00
collin
2d2fc72ff9 fixes array spread declaration type bug 2020-11-25 17:22:12 -05:00
Collin Chin
d598f1f72b
Merge pull request #456 from AleoHQ/fix/cli-help
update leo cli message
2020-11-25 16:34:13 -05:00
collin
53cb83f289 update leo cli message 2020-11-25 00:41:28 -05:00
collin
8873971f56 update self mut self keywords in type inference module 2020-11-25 00:37:19 -05:00
collin
58cb5101eb update self mut self keywords in symbol table module 2020-11-24 21:42:59 -05:00
Collin Chin
2ee28d5301
Merge pull request #455 from AleoHQ/dependabot/cargo/tracing-0.1.22
Bump tracing from 0.1.21 to 0.1.22
2020-11-24 11:08:43 -05:00
dependabot-preview[bot]
fc5760236b
Bump tracing from 0.1.21 to 0.1.22
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.21 to 0.1.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.21...tracing-0.1.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 15:30:38 +00:00
Collin Chin
5b0119be81
Merge pull request #453 from AleoHQ/dependabot/cargo/reqwest-0.10.9
Bump reqwest from 0.10.8 to 0.10.9
2020-11-24 10:29:06 -05:00
Collin Chin
8568b22f7a
Merge pull request #452 from AleoHQ/dependabot/cargo/env_logger-0.8.2
Bump env_logger from 0.8.1 to 0.8.2
2020-11-24 10:28:46 -05:00
Collin Chin
66dddd992d
Merge pull request #448 from AleoHQ/fix/tuple-cond-select
fix error when selecting return between two tuples
2020-11-24 10:28:11 -05:00
collin
1213209b78 cargo fmt check 2020-11-23 17:01:01 -05:00
Collin Chin
26151f33ec
Merge branch 'master' into fix/tuple-cond-select 2020-11-23 16:57:22 -05:00
Howard Wu
1d1e86c8de
Merge pull request #447 from AleoHQ/fix/not-expression
fix error using not operator on mutable boolean
2020-11-23 13:49:35 -08:00
Howard Wu
25c9ac6ea2
Merge pull request #446 from AleoHQ/fix/input-tuple
fix input tuple grammar rule
2020-11-23 13:46:01 -08:00
Howard Wu
14cc19b926
Merge pull request #433 from AleoHQ/fix/state-module-names
Update naming and documentation for state module.
2020-11-23 13:43:56 -08:00
collin
1b1cfd015d fix circuit function struct in core module 2020-11-23 16:01:30 -05:00
collin
efe734afaf add input, self, mut self keyword functionality to ast module 2020-11-23 14:49:20 -05:00
collin
2c72156370 add input keyword objects to ast module 2020-11-23 12:10:58 -05:00
dependabot-preview[bot]
c809c43ef0
Bump reqwest from 0.10.8 to 0.10.9
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.8 to 0.10.9.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.8...v0.10.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:51:20 +00:00
collin
f8668303e3 add self and mut self to grammar module 2020-11-19 15:22:49 -08:00
dependabot-preview[bot]
468599266b
Bump env_logger from 0.8.1 to 0.8.2
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 10:50:24 +00:00
collin
093bab6b02 add test for returning a tuple in a conditional statement 2020-11-18 18:28:41 -08:00
collin
5db2b07cb2 add test for using not operator on mutable variable 2020-11-18 18:23:11 -08:00
collin
789a744deb add test for returning tuples from function 2020-11-18 18:13:49 -08:00
collin
83f7c49d08 Merge branch 'master' of github.com:AleoHQ/leo into fix/state-module-names 2020-11-17 09:28:21 -08:00
Howard Wu
2cb44160ab
Merge pull request #439 from AleoHQ/feature/type-inference
Type inference module. PR #411 part 3/3
2020-11-16 22:12:51 -08:00