ligo/src/test/contracts
Christian Rinderknecht 9e7c97637c Added support for language-specific parse errors for PascaLIGO:
* Duplicate variants in the same type declaration
   * Duplicate parameter in the same function declaration
   * Shadowing of predefined value in a declaration

I fixed the architecture for that support: ParserMain.ml is now where
those specific errors are handled, and they are produced by the
semantic actions of the parsers.
2020-01-08 16:39:52 +01:00
..
negative All typer errors in ast_typed/misc.ml are covered it seems. 2019-12-19 17:27:17 +00:00
address.ligo fix address arity and update test 2019-12-17 11:10:29 +01:00
address.mligo fix address arity and update test 2019-12-17 11:10:29 +01:00
address.religo fix address arity and update test 2019-12-17 11:10:29 +01:00
amount.mligo more refactoring 2019-09-15 13:12:19 +02:00
annotation.ligo Add explanatory comment to annotation.ligo 2019-10-24 14:44:07 -07:00
application.ligo add and test more ways to do function application in pascaligo 2019-11-14 20:13:15 +01:00
arithmetic.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
arithmetic.mligo Merge branch 'dev' of gitlab.com:ligolang/ligo into test/cameligo-test-parity 2019-10-29 22:06:42 -07:00
arithmetic.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
assert.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
assert.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
assign.ligo more refactoring 2019-09-15 13:12:19 +02:00
bad_address_format.religo test & dune promote 2020-01-02 15:21:56 +01:00
bad_timestamp.ligo negative timestamp literal test 2020-01-03 18:11:37 +01:00
bad_type_operator.ligo t_operator can not throw exceptions 2019-12-24 12:43:32 +01:00
balance_constant.ligo application at ast_simplified level 2019-12-11 20:02:54 +01:00
balance_constant.mligo Finish balance operator and add test for CameLIGO 2019-11-06 11:08:18 -08:00
balance_constant.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
basic.mligo more refactoring 2019-09-15 13:12:19 +02:00
basic.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
big_map.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
big_map.mligo updating tests (we don't need the big_map to be in a pair anymore) 2019-10-22 12:23:48 +02:00
big_map.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
bitwise_arithmetic.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
bitwise_arithmetic.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
bitwise_arithmetic.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
blockless.ligo Write blockless function test and make it pass 2019-10-19 10:46:24 -07:00
boolean_operators.ligo Merge branch 'pascaligo-tests' into 'dev' 2019-09-26 15:09:37 +00:00
boolean_operators.mligo Fix boolean tests for CameLIGO 2019-10-24 09:13:31 -07:00
boolean_operators.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
bytes_arithmetic.ligo more refactoring 2019-09-15 13:12:19 +02:00
bytes_arithmetic.mligo Fix merge conflict 2019-11-06 07:35:15 -06:00
bytes_arithmetic.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
bytes_unpack.ligo support bytes_unpack operator in pascaligo + tests 2020-01-02 16:19:21 +01:00
chain_id.ligo Added support for language-specific parse errors for PascaLIGO: 2020-01-08 16:39:52 +01:00
closure-1.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
closure-2.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
closure-3.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
closure.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
closure.mligo Add closure test to CameLIGO 2019-11-21 06:02:47 -08:00
closure.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
coase.ligo remove fail 2019-09-26 19:30:17 +02:00
condition-annot.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
condition-annot.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
condition-shadowing.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
condition-shadowing.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
condition-simple.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
condition.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
condition.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
condition.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
counter.ligo more refactoring 2019-09-15 13:12:19 +02:00
counter.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
counter.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
declaration-local.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
declarations.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
deep_access.ligo fix and more tests 2019-11-26 18:08:53 +01:00
dispatch-counter.ligo more refactoring 2019-09-15 13:12:19 +02:00
double_main.ligo add tests 2020-01-06 18:51:43 +01:00
empty_case.ligo Add support for empty constructors. 2020-01-03 13:01:13 +00:00
empty_case.mligo Add support for empty constructors. 2020-01-03 13:01:13 +00:00
empty_case.religo Add support for empty constructors. 2020-01-03 13:01:13 +00:00
entrypoints.ligo Fix semantic merge conflict in test and parser 2019-11-19 17:19:26 -06:00
error_syntax.ligo more refactoring 2019-09-15 13:12:19 +02:00
error_type.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
failwith.ligo propagate failwith strings (also support for others) in the error 2020-01-02 12:50:45 +01:00
failwith.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
failwith.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
fibo2.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
fibo3.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
fibo4.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
fibo.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
for_fail.ligo Move tests, remove operators 2019-10-23 09:38:45 -05:00
function-anon.ligo test anon function 2019-11-18 18:44:15 +01:00
function-complex.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
function-shared.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
function-shared.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
function-shared.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
function.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
guess_string.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
heap-instance.ligo more refactoring 2019-09-15 13:12:19 +02:00
heap.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
high-order.ligo sséssaoupa? 2019-12-10 15:58:53 +01:00
high-order.mligo Add higher order function test to CameLIGO 2019-11-22 02:22:29 -08:00
high-order.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
implicit_account.ligo Add implicit_account to operators 2019-12-01 21:56:49 +00:00
implicit_account.mligo Add implicit_account to operators 2019-12-01 21:56:49 +00:00
implicit_account.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
implicit.mligo Fix IMPLICIT_ACCOUNT, again and this time add regression expect test 2019-12-16 12:10:31 -08:00
included.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
included.mligo Add inclusion directive docs and inclusion tests for CameLIGO and ReasonLIGO 2020-01-02 16:11:03 +00:00
included.religo Add inclusion directive docs and inclusion tests for CameLIGO and ReasonLIGO 2020-01-02 16:11:03 +00:00
includer.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
includer.mligo Add inclusion directive docs and inclusion tests for CameLIGO and ReasonLIGO 2020-01-02 16:11:03 +00:00
includer.religo Add inclusion directive docs and inclusion tests for CameLIGO and ReasonLIGO 2020-01-02 16:11:03 +00:00
incr_decr.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
isnat.ligo Add is_nat operator to PascaLIGO 2019-11-20 12:48:55 +00:00
isnat.mligo Add is_nat operator to CameLIGO 2019-11-20 12:48:55 +00:00
isnat.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
key_hash.ligo add key_hash type and crypto_key_hash operator to pascaligo 2019-11-21 17:21:39 +01:00
lambda2.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
lambda2.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
lambda.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
lambda.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
lambda.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
let_in_multi_bind.mligo Clean up let ... in multi-bind 2019-12-24 15:35:05 -08:00
let_multiple.mligo Overkill the tuple ordering bug 2019-12-03 11:10:53 -08:00
let_multiple.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
letin.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
letin.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
list.ligo [LIGO-229] Change ordering of collection operation args 2019-11-20 12:16:31 +00:00
list.mligo [LIGO-229] Change ordering of collection operation args 2019-11-20 12:16:31 +00:00
list.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
loop.ligo For collection loop: also capture variable in logical blocks 2019-11-21 11:28:32 +01:00
loop.mligo [LIGO-229] Change ordering of collection operation args 2019-11-20 12:16:31 +00:00
loop.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
map.ligo Add Michelson map membership to CameLIGO and PascaLIGO 2019-12-06 09:35:08 -08:00
map.mligo Add Michelson map membership to CameLIGO and PascaLIGO 2019-12-06 09:35:08 -08:00
map.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
match_bis.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
match_bis.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
match.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
match.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
match.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
multiple-parameters.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
multiple-parameters.mligo Add test for several function parameters in CameLIGO 2019-10-28 22:07:00 -07:00
multiple-parameters.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
multisig-v2.ligo mutisig v2 some renaming and counter reset fix 2019-11-26 19:21:51 +01:00
multisig.ligo multisig : non quadratic signature check 2019-11-21 17:21:39 +01:00
new-syntax.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
option.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
option.mligo add options in cameligo 2019-09-20 20:38:04 +02:00
option.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
parser-bad-reported-term.ligo more refactoring 2019-09-15 13:12:19 +02:00
procedure.ligo Move tests, remove operators 2019-10-23 09:38:45 -05:00
quote-declaration.ligo more refactoring 2019-09-15 13:12:19 +02:00
quote-declarations.ligo more refactoring 2019-09-15 13:12:19 +02:00
record.ligo Merge branch 'dev' into refactor/everything 2019-09-23 16:40:51 +02:00
record.mligo more refactoring 2019-09-15 13:12:19 +02:00
redeclaration.ligo add tests 2020-01-06 18:51:43 +01:00
replaceable_id.ligo Contracts: replaceable ID 2019-12-17 14:18:09 +00:00
self_address.ligo Add self address to CameLIGO and PascaLIGO 2019-12-01 21:56:49 +00:00
self_address.mligo Add self address to CameLIGO and PascaLIGO 2019-12-01 21:56:49 +00:00
self_address.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
set_arithmetic-1.ligo [LIGO-229] Change ordering of collection operation args 2019-11-20 12:16:31 +00:00
set_arithmetic-1.mligo [LIGO-229] Change ordering of collection operation args 2019-11-20 12:16:31 +00:00
set_arithmetic.ligo Remove PascaLIGO set_size 2019-10-22 20:24:05 -07:00
set_arithmetic.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
set_arithmetic.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
set_delegate.ligo Passing SET_DELEGATE test for PascaLIGO 2019-12-17 09:34:05 -08:00
set_delegate.mligo Add ReasonLIGO and CameLIGO tests for SET_DELEGATE 2019-12-17 09:50:47 -08:00
set_delegate.religo Add ReasonLIGO and CameLIGO tests for SET_DELEGATE 2019-12-17 09:50:47 -08:00
shadow.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
simple_access.ligo add anon functions; remove pre-block declarations; update tests 2019-11-18 16:10:48 +01:00
string_arithmetic.ligo more refactoring 2019-09-15 13:12:19 +02:00
string_arithmetic.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
string_arithmetic.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
string.ligo Simplifier now emit CONCAT constant 2019-10-07 17:16:03 +02:00
super-counter.ligo more refactoring 2019-09-15 13:12:19 +02:00
super-counter.mligo more refactoring 2019-09-15 13:12:19 +02:00
super-counter.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
tez.ligo Replace "mtz" with "mutez" 2019-10-27 11:50:24 -05:00
tez.mligo Replace "mtz" with "mutez" 2019-10-27 11:50:24 -05:00
time-lock.ligo Time lock : contract + tests 2019-12-20 12:18:36 +01:00
timestamp.ligo add --predecessor-timestamp to compile-storage/parameter 2020-01-03 18:11:44 +01:00
toto.ligo more refactoring 2019-09-15 13:12:19 +02:00
tuple_param_destruct.mligo Horrible hack to rewrite CST for tuple param destruct, 2019-12-29 01:24:22 +00:00
tuple.ligo more refactoring 2019-09-15 13:12:19 +02:00
tuple.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
tuple.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
tuples_sequences_functions.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
type_tuple_destruct.mligo [LIGO-286] Tuple destructuring doesn't do left hand type inference in CameLIGO 2019-12-17 21:04:53 +00:00
type-alias.ligo more refactoring 2019-09-15 13:12:19 +02:00
unit.ligo more refactoring 2019-09-15 13:12:19 +02:00
variant-matching.ligo more refactoring 2019-09-15 13:12:19 +02:00
variant.ligo more refactoring 2019-09-15 13:12:19 +02:00
variant.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
variant.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
vote.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
website1.ligo more refactoring 2019-09-15 13:12:19 +02:00
website2.ligo Updated docs with blockless & anonymous functions, added variable mutation disclaimer, updated landing page pascaligo example. 2019-11-19 01:44:36 +01:00
website2.mligo Refactoring of Ligodity (CameLIGO) and making an AST pretty-printer 2019-11-04 23:51:47 +01:00
website2.religo Add ReasonLIGO support 2019-12-10 13:47:31 +00:00