Gaith Hallak
|
94c8bc3671
|
Make interfaces declare functions from extended interfaces
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
5624279d6d
|
Rename check_implemented_interfaces_recursive to check_implemented_interfaces1
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
3fc6d47223
|
Fix previous commit
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
3b7b207527
|
Add tests for option and type aliases
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
f92e995931
|
Remove arrows_in_type and use infer_type_vars_variance instead
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
2883b41beb
|
Test only for covariance and contravariance
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
96d9509b44
|
Compare named args in fun_t
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
78d2ce2e75
|
Use is_list to check if a var is a list
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
822d54709e
|
Fixes from the reviews
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
94c2f998ae
|
Don't destroy and recreate type errors table when not needed
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
8a9c2a61b2
|
Add type_vars_uvar ets table to ets_tables()
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
8e888430d9
|
Mark tvars as invariant
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
1980eb30bf
|
Fix warning
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
ae9b8f8b16
|
Make is_subtype/4 a separate function
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
b9af3dbe7f
|
Make opposite_variance a separate function
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
918346445f
|
Add testing for custom types variance switching
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
dd259fbc96
|
Fix dialyzer warning
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
44bd16264a
|
Variance switching for custom datatypes
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
3a00476f88
|
Fix tests after rebase
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
e5e7958c3f
|
Add tests for variance switching
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
4348affa3e
|
Fix broken abi tests
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
77f1631467
|
Fix broken tests
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
01fb058def
|
Add variance switching
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
a068822278
|
Revert "Draft: Add variance switching"
This reverts commit 92dc6ac169cfbff447ed59de04994f564876b3fb.
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
b1b7f6cf6d
|
Draft: Add variance switching
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
88666a36d2
|
Add tests for interfaces implementing interfaces
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
adb3455f25
|
Add test for implementing two interfaces with entrypoints of same names and different types
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
918ff94a37
|
Add test for implementing multiple interfaces
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
df676ff6e9
|
Report undefined interface errors before checking implemented interfaces
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
03413ab0d4
|
Fix the comparison between unit and empty tuple
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
d8db908485
|
Add new tests and fix old tests
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
6003aacdea
|
Fix pretty printing
|
2022-05-25 19:38:10 +04:00 |
|
Gaith Hallak
|
4c25489963
|
Add polymorphism to infer types
|
2022-05-25 19:38:09 +04:00 |
|
Gaith Hallak
|
212534976a
|
Add polymorphism to syntax tree and parser
|
2022-05-25 19:32:47 +04:00 |
|
Gaith Hallak
|
b0e6418161
|
Ban empty record definitions (#384)
* Ban empty record declarations
* Use definition instead of declaration
* Fix the failing test
|
2022-05-25 17:59:46 +04:00 |
|
Gaith Hallak
|
a894876f56
|
Show the file name in the location if the file is included (#383)
|
2022-05-10 18:27:06 +04:00 |
|
Radosław Rowicki
|
0af45dfd19
|
Deprecate AEVM (#375)
* Deprecate AEVM
* Fix test, changelog
* Restore old rebar
* rebar lock fix
* undo export
Co-authored-by: Gaith Hallak <gaithhallak@gmail.com>
* undo export
Co-authored-by: Gaith Hallak <gaithhallak@gmail.com>
* Solve GH suggestions
* Fix the docs
* update docs
* Remove unused tests
* undo weird change
Co-authored-by: Gaith Hallak <gaithhallak@gmail.com>
|
2022-05-10 15:33:59 +02:00 |
|
Gaith Hallak
|
c5bfcd3bdc
|
Add MCL_BLS12_381 types to from_fate_builtin (#382)
* Add MCL_BLS12_381 types to from_fate_builtin
* Add tests for mcl_bls12_381 types to sophia value
|
2022-05-05 13:19:43 +04:00 |
|
Dincho Todorov
|
85879f5380
|
Fix BLS12_381.fp and BLS12_381.fr size in the docs (#377)
|
2022-04-27 17:10:56 +03:00 |
|
Dincho Todorov
|
8897cc6cbd
|
Fix bls12_381 anchor in the stdlib docs (#376)
|
2022-04-26 20:10:11 +03:00 |
|
Marco Walz
|
0ec7fdc6ac
|
Merge pull request #368 from aeternity/docs/improve-stdlib-structure
docs: order namespaces alphabetically and place Set in includables
|
2022-04-12 12:49:40 +02:00 |
|
Gaith Hallak
|
74aff5401b
|
Introduce pipe operator |> (#371)
* Add pipe operator
* Add tests
* Update docs and CHANGELOG
|
2022-04-12 12:40:32 +03:00 |
|
Marco Walz
|
cfcf0a8a81
|
Merge pull request #372 from aeternity/pygments-version
chore(deps): bump pygments version
|
2022-03-28 12:09:20 +02:00 |
|
marc0olo
|
ca31db7cad
|
chore(deps): bump mkdocs version from 1.2.3 to 1.2.4
|
2022-03-28 10:43:37 +02:00 |
|
marc0olo
|
196460a607
|
chore(deps): bump pygments version
|
2022-03-22 13:19:11 +01:00 |
|
marc0olo
|
bf04362f9a
|
docs: order namespaces alphabetically and place Set in includables
|
2022-02-04 12:41:08 +01:00 |
|
Hans Svensson
|
d4ea7d5d3b
|
Clarify signature format for ecverify/ecrecover (#365)
|
2022-01-11 14:02:40 +01:00 |
|
Hans Svensson
|
c1c3c29393
|
Add oneline error pretty-printing (#364)
|
2022-01-11 14:02:05 +01:00 |
|
Gaith Hallak
|
b474bb22cd
|
Implement caching for compiled child contracts (#363)
|
2022-01-11 16:50:59 +04:00 |
|
Hans Svensson
|
c04f66a00a
|
Merge pull request #362 from aeternity/ghallak/354
Simplify error messages reported by the compiler
|
2022-01-11 11:48:11 +04:00 |
|