769 Commits

Author SHA1 Message Date
Gaith Hallak
7fabbff11e Update the docs about the same alias for multiple namespaces 2021-09-06 17:53:25 +03:00
Gaith Hallak
c948591c86 Update the docs 2021-09-06 17:19:49 +03:00
Gaith Hallak
5725307643 Code cleaning 2021-09-06 17:18:52 +03:00
Gaith Hallak
fc55cfe059 Update CHANGELOG.md 2021-09-06 17:18:52 +03:00
Gaith Hallak
2d916733d8 Add tests for using namespace parts 2021-09-06 17:18:52 +03:00
Gaith Hallak
c29e9a7b2e Add using namespace parts to ast type inference 2021-09-06 17:18:52 +03:00
Gaith Hallak
81e4429585 Add using namespace parts to scanner and parser 2021-09-06 17:18:52 +03:00
Gaith Hallak
db60be0af3 Change the type of used_namespaces 2021-09-06 17:18:52 +03:00
Gaith Hallak
5ef068f1ff Add a test for using undefined namespaces 2021-09-06 17:18:52 +03:00
Gaith Hallak
9acd1b1d88 Forbid using undefined namespaces 2021-09-06 17:18:52 +03:00
Gaith Hallak
dfe0ad9c38 Split long line 2021-09-06 17:18:52 +03:00
Gaith Hallak
2a581a5800 Use a single using declaration 2021-09-06 17:18:52 +03:00
Gaith Hallak
21c16158ce Add test for wrong scope of using namespace 2021-09-06 17:18:52 +03:00
Gaith Hallak
c823c712ae Limit the scope of the used namespaces 2021-09-06 17:18:52 +03:00
Gaith Hallak
52b1c99ea7 Add failing test for ambiguous names 2021-09-06 17:18:52 +03:00
Gaith Hallak
8ac4156c87 Implement mk_error for ambiguous_name 2021-09-06 17:18:52 +03:00
Gaith Hallak
0782f439f5 Handle name collisions 2021-09-06 17:18:52 +03:00
Gaith Hallak
06dc68a7f2 Add a compiler test for using namespace 2021-09-06 17:18:52 +03:00
Gaith Hallak
976f6c42ba Allow using namespace to appear inside functions 2021-09-06 17:18:52 +03:00
Gaith Hallak
519e60039e Allow using namespace to appear in the top level 2021-09-06 17:18:52 +03:00
Gaith Hallak
3a4b63baa2 Add using namespace to AST type inference 2021-09-06 17:18:52 +03:00
Gaith Hallak
2d450397f4 Change the alias from id() to con() 2021-09-06 17:18:52 +03:00
Gaith Hallak
53ba62e423 Add using namespace as to scanner and parser 2021-09-06 17:18:52 +03:00
Marco Walz
262452fb70
Feature/mkdocs with versioning (#333)
* docs: restructuring & introduction of mkdocs with versioning provided by mike

* docs: ad repositories section to sophia examples

* docs: refactoring and consistent naming of æternity

* docs: hint for new file destination

* docs: revert capital letter

* docs: accept proposed changes

* docs: fix anchors in stdlib
2021-08-27 17:46:18 +03:00
Gaith Hallak
3029bf31cb
Implement Set stdlib (#335)
* Implement Set stdlib

* Rename an argument of the function Set.fold

* Add docs for Set stdlib

* Correct the usage of articles in the docs

* Fix bug

* Fix the link to Set stdlib section

Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com>
2021-08-07 10:08:45 +02:00
Radosław Rowicki
4896ad3b36
Add Option.force_msg (#328)
* Add Option.force_msg

* CHANGELOG update
2021-08-03 11:39:53 +02:00
Hans Svensson
b20b9c5df5
Merge pull request #329 from callbay/fix_var_in_example
Fix var in example
2021-07-26 12:04:55 +02:00
Frank Feng
d793660545 Fix var in example 2021-07-24 16:46:13 +08:00
Hans Svensson
4957d01e9e
Merge pull request #327 from aeternity/fix_doc
Fix stdlib doc
2021-07-13 20:40:49 +02:00
Hans Svensson
9d76e6186a Fix stdlib doc 2021-07-13 20:01:54 +02:00
Radosław Rowicki
ae3edac53e
Prepare 6.0.2 (#326)
* Prepare 6.0.2

* Minor note
v6.0.2
2021-07-06 17:31:35 +02:00
Ulf Norell
acec32e744
Merge pull request #325 from aeternity/issue324
Fix #324: bug when compiling default init in the presence of child contracts
2021-07-05 10:33:26 +02:00
Hans Svensson
5784f074a6
Merge pull request #323 from aeternity/fromtostep
Add check in from_to_step
2021-07-05 09:39:32 +02:00
Ulf Norell
d07b321b25 Fix #324: bug when compiling default init in the presence of child contracts 2021-07-05 09:29:43 +02:00
radrow
2e6c01cb75 Fix var 2021-06-26 19:10:49 +02:00
radrow
b22eeffc3d Formatting in stdlib doc 2021-06-26 19:10:15 +02:00
radrow
b366bed24b Add check in from_to_step 2021-06-25 11:19:19 +02:00
Hans Svensson
1975ccf804
Merge pull request #322 from aeternity/prepare_6.0.1
Prepare 6.0.1
v6.0.1
2021-06-24 09:38:05 +02:00
Hans Svensson
4f68729631 Prepare v6.0.1 2021-06-24 09:34:05 +02:00
Denis Davidyuk
10c845d3cf Use consistent event definitions between examples 2021-06-24 09:34:05 +02:00
Hans Svensson
393d7710c1
Merge pull request #318 from aeternity/stdlib-tests
Fix Frac library and add stdlib compilation test
2021-06-24 09:29:12 +02:00
Hans Svensson
37e5a92b2e
Merge pull request #314 from aeternity/call-fee-doc
Call.fee doc
2021-06-24 09:28:17 +02:00
Hans Svensson
cb9c9df103
Merge pull request #321 from aeternity/calldata-fix
Fix calldata
2021-06-24 09:19:05 +02:00
radrow
c09313a92c newline 2021-06-22 17:55:31 +02:00
radrow
75b2d6981f Fix calldata 2021-06-22 17:54:05 +02:00
Hans Svensson
78d94786b6
Merge pull request #320 from aeternity/nikita-fuchs-patch-1
fix child contract deployment example
2021-06-22 14:52:36 +02:00
Nikita Fuchs
216f7f8a25
fix child contract deployment example 2021-06-22 14:47:58 +02:00
radrow
254172e3a3 Properly refer the stdlib 2021-06-02 17:06:36 +02:00
radrow
eadb4e8c83 Fix Frac library and add stdlib compilation test 2021-06-02 17:03:23 +02:00
Radosław Rowicki
e2af89287d
6.0.0 (#317)
* Prepare 6.0.0

* Update docs

* Prepare 6.0.0 one more time

* the
v6.0.0
2021-05-26 13:06:56 +02:00