leo/compiler/tests
bors[bot] 54a9691b73
Merge #652 #663
652: ASG refactor r=collinc97 a=Protryon

## Motivation

This PR makes the ASG more user friendly by using arenas instead of RefCell/Arc:
1. Impossible to leak the ASG by creating a circular strong reference chain
2. We don't need RefCell's everywhere to implement passes

663: Bug 625/fix negative fields not allowed r=collinc97 a=gluax

Resolves #625. Logic used to do so is in check if first character of string to convert is a negative sign. If so remove first character convert from string to field, and then negate it on the leo side. If first character wasn't a negative sign, do the same as before.

Co-authored-by: Protryon <max.bruce12@gmail.com>
Co-authored-by: gluax <jonathan.t.pavlik@gmail.com>
Co-authored-by: gluax <16431709+gluax@users.noreply.github.com>
2021-02-17 20:10:30 +00:00
..
address asg 2021-02-02 11:08:56 -08:00
array asg 2021-02-02 11:08:56 -08:00
boolean add test 2021-02-02 18:42:00 -08:00
circuits add test for the fixed bug 2021-02-08 13:44:30 -05:00
compiler asg refactor 2021-02-16 13:32:34 -08:00
compiler_output outputs -> output 2020-07-31 21:15:33 -07:00
console asg 2021-02-02 11:08:56 -08:00
core asg 2021-02-02 11:08:56 -08:00
definition Update license to 2021 2021-02-01 20:26:56 -08:00
field add non negated field to test, merge master 2021-02-16 09:22:10 -05:00
function add test for the fixed bug 2021-02-08 15:42:37 -05:00
group Update license to 2021 2021-02-01 20:26:56 -08:00
import re-ignore import test-many in compiler, it breaks pipeline 2021-02-05 15:33:48 -05:00
input_files fix negative fields, add test for them 2021-02-12 15:20:58 -05:00
integers asg 2021-02-02 11:08:56 -08:00
mutability unignore swap test 2021-02-04 07:36:41 -08:00
statements asg 2021-02-02 11:08:56 -08:00
syntax asg 2021-02-02 11:08:56 -08:00
tuples Update license to 2021 2021-02-01 20:26:56 -08:00
mod.rs asg refactor 2021-02-16 13:32:34 -08:00