Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Stable Cadence branch into master #2971

Merged
merged 1,520 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1520 commits
Select commit Hold shift + click to select a range
1e04b7a
initializer has no access modifier, but access to constructor is public
turbolent Sep 22, 2023
a986a76
permit paths
dsainati1 Sep 22, 2023
b1d23de
Merge pull request #2805 from onflow/bastian/constructor-initializer-…
turbolent Sep 22, 2023
e5373a0
Merge pull request #2804 from onflow/bastian/cleanup-2
turbolent Sep 22, 2023
f9fc86f
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Sep 22, 2023
28089ca
fix test
dsainati1 Sep 22, 2023
0b7ce62
Merge pull request #2810 from onflow/sainati/entitlement-include-memory
dsainati1 Sep 22, 2023
b365401
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Sep 22, 2023
415bef4
Merge branch 'sainati/ban-custom-destructors' of github.com:onflow/ca…
dsainati1 Sep 22, 2023
01f5e1c
update error message on unexpected default arg
dsainati1 Sep 22, 2023
c4786ca
Merge branch 'sainati/default-event-parsing' of github.com:onflow/cad…
dsainati1 Sep 22, 2023
8696c7f
Merge pull request #2806 from onflow/bastian/extend-type-code-generator
turbolent Sep 23, 2023
e7a7725
Remove unnecessary transfer call
darkdrag00nv2 Sep 24, 2023
fa75807
Merge pull request #2791 from darkdrag00nv2/string_split2
SupunS Sep 25, 2023
3295bbb
emit default event
dsainati1 Sep 26, 2023
59210c1
emit events on destroy
dsainati1 Sep 26, 2023
b8954d4
fix attachment base values
dsainati1 Sep 26, 2023
52985a4
Introduce String.replaceAll instance function
darkdrag00nv2 Sep 24, 2023
401eab8
Reword the function doc string
darkdrag00nv2 Sep 26, 2023
e40c490
fix scoping across interpreters
dsainati1 Sep 26, 2023
24e6164
lint
dsainati1 Sep 26, 2023
8d2169f
fix lint
dsainati1 Sep 26, 2023
85c12ac
Merge branch 'sainati/default-event-checking' of github.com:onflow/ca…
dsainati1 Sep 27, 2023
0d9bf8c
emit interface events as well
dsainati1 Sep 27, 2023
339767b
Update runtime/ast/composite.go
dsainati1 Sep 27, 2023
34067af
Ensure character is disallowed in replaceAll
darkdrag00nv2 Sep 27, 2023
57d4ad8
Update runtime/sema/string_type.go
SupunS Sep 27, 2023
a1e43fb
Merge branch 'master' into bastian/sync-stable-cadence-8
turbolent Sep 27, 2023
a03a452
fix lint
turbolent Sep 27, 2023
29bf615
Merge pull request #2820 from onflow/bastian/sync-stable-cadence-8
turbolent Sep 27, 2023
1e83b48
add test for same name interfaces
dsainati1 Sep 27, 2023
6e42dee
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Sep 27, 2023
a3b43ad
Merge branch 'sainati/ban-custom-destructors' of github.com:onflow/ca…
dsainati1 Sep 27, 2023
9f23589
fix test
dsainati1 Sep 27, 2023
dbf0770
Merge branch 'sainati/default-event-parsing' of github.com:onflow/cad…
dsainati1 Sep 27, 2023
15543eb
respond to review
dsainati1 Sep 28, 2023
f35d5db
Merge branch 'sainati/default-event-parsing' of github.com:onflow/cad…
dsainati1 Sep 28, 2023
936f2ba
correct scoping
dsainati1 Sep 28, 2023
d1f232e
properly access-check optional chaining with entitlements
dsainati1 Sep 28, 2023
a28d5b6
add test
dsainati1 Sep 28, 2023
09fb4b8
Merge pull request #2825 from onflow/sainati/entitlement-optional-cha…
dsainati1 Sep 28, 2023
089768c
before statements require pure arguments
dsainati1 Oct 3, 2023
bf4207b
parallelize
dsainati1 Oct 3, 2023
445adf4
Merge pull request #2835 from onflow/sainati/view-before
dsainati1 Oct 3, 2023
251f6e3
don't add relations to mappings if they fail
dsainati1 Oct 4, 2023
1be5126
other test
dsainati1 Oct 4, 2023
22d98e1
add tests
dsainati1 Oct 4, 2023
16885b6
fix tests
dsainati1 Oct 4, 2023
d45a8ec
Merge pull request #2838 from onflow/sainati/entitlement-checking-error
dsainati1 Oct 4, 2023
b8dcbe1
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Oct 4, 2023
787fdbe
require full entitlements to assign to a mapped field
dsainati1 Oct 4, 2023
b89b670
Merge pull request #2840 from onflow/sainati/entitlement-mapping-assign
dsainati1 Oct 4, 2023
c9089c8
set base during attachment iteration
dsainati1 Oct 5, 2023
7d351b4
Merge pull request #2847 from onflow/sainati/attachment-iteration-base
dsainati1 Oct 5, 2023
5cbc388
Merge pull request #2509 from onflow/bastian/2507-fix-stored-value-co…
turbolent Oct 5, 2023
07d0b78
Merge branch 'master' into bastian/sync-stable-cadence-10
turbolent Oct 5, 2023
cd98a96
add new file
turbolent Oct 5, 2023
544aed4
Merge pull request #2854 from onflow/bastian/sync-stable-cadence-10
turbolent Oct 5, 2023
dc9ce06
Fix field assignment via references
SupunS Oct 12, 2023
cdde6c6
Merge pull request #2868 from onflow/supun/resource-ref-assignment
SupunS Oct 12, 2023
6dc6b38
Merge pull request #2814 from darkdrag00nv2/string_replace
SupunS Oct 16, 2023
00dd3fd
Support iterating references to iterables
SupunS Oct 17, 2023
3238e57
properly substitute types in nested mapped references
dsainati1 Oct 17, 2023
81fce7e
add more tests
dsainati1 Oct 17, 2023
3e0f26a
add test for lambda escape
dsainati1 Oct 17, 2023
346f71a
add defensive check
dsainati1 Oct 17, 2023
9162f3e
Support looping storage references
SupunS Oct 17, 2023
8363693
prevent creation of mapped lambdas
dsainati1 Oct 17, 2023
4942b14
Add test for invalid type
SupunS Oct 17, 2023
5defa03
respond to review
dsainati1 Oct 17, 2023
d532cc3
new ast node for mapping types
dsainati1 Oct 18, 2023
755e2ee
refactor to access
dsainati1 Oct 18, 2023
c659d79
Add test for auth references in for-loop
SupunS Oct 18, 2023
da02665
parse mappings for access and auth
dsainati1 Oct 18, 2023
8e04195
update checker tests
dsainati1 Oct 18, 2023
a7dc05e
Handle optionals and resource tracking
SupunS Oct 18, 2023
1806a58
update tests
dsainati1 Oct 19, 2023
8c53fae
Apply suggestions from code review
dsainati1 Oct 19, 2023
197334d
respond to review
dsainati1 Oct 19, 2023
59cc7f2
fix test
dsainati1 Oct 19, 2023
0bfd2c0
Merge pull request #2877 from onflow/sainati/entitlement-mapping-escape
dsainati1 Oct 19, 2023
dec3432
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Oct 19, 2023
3ec9749
Prevent mutation while iterating
SupunS Oct 19, 2023
8e221a6
remove is impure operation
dsainati1 Oct 20, 2023
e8fbb18
Add more tests for string looping
SupunS Oct 20, 2023
b78ac8a
don't report impure error on local removal
dsainati1 Oct 20, 2023
76c7586
add test
dsainati1 Oct 24, 2023
f7719d0
improve panic messages, add panic to DecodeArgument
turbolent Oct 24, 2023
5e92c18
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Oct 24, 2023
685f6bf
Merge pull request #2894 from onflow/bastian/improve-test-runtime-int…
turbolent Oct 24, 2023
e533d68
Merge branch 'feature/stable-cadence' into bastian/2768-restrict-capa…
turbolent Oct 24, 2023
9f2ed22
respond to review
dsainati1 Oct 24, 2023
ddc8181
Merge branch 'feature/stable-cadence' of https://github.com/onflow/ca…
SupunS Oct 24, 2023
74af553
Merge pull request #2883 from onflow/sainati/entitlement-mapping-syntax
dsainati1 Oct 24, 2023
4fd8455
Merge pull request #2782 from onflow/bastian/2768-restrict-capability…
turbolent Oct 24, 2023
f342322
Merge pull request #2890 from onflow/sainati/remove-non-view
dsainati1 Oct 24, 2023
f6eb669
Merge pull request #2876 from onflow/supun/loop-references
SupunS Oct 24, 2023
01a42f3
Merge pull request #2725 from onflow/supun/improve-conformance
SupunS Oct 25, 2023
3e084c4
Merge branch 'master' of https://github.com/onflow/cadence into supun…
SupunS Oct 25, 2023
7d1317d
lint
SupunS Oct 25, 2023
b9edc95
Merge pull request #2899 from onflow/supun/sync-stable-cadence-master
turbolent Oct 26, 2023
c034b5a
respond to review
dsainati1 Oct 26, 2023
33c238d
Merge branch 'feature/remove-destructors' of github.com:onflow/cadenc…
dsainati1 Oct 26, 2023
bad0e79
Merge branch 'sainati/ban-custom-destructors' of github.com:onflow/ca…
dsainati1 Oct 26, 2023
1910211
Merge branch 'sainati/default-event-parsing' of github.com:onflow/cad…
dsainati1 Oct 26, 2023
8fb0ad2
respond to review
dsainati1 Oct 26, 2023
1d6cc42
Merge branch 'sainati/default-event-checking' of github.com:onflow/ca…
dsainati1 Oct 26, 2023
48fb4b2
prevent manually emitting default destroy events
dsainati1 Oct 27, 2023
8f044b2
respond to review
dsainati1 Oct 27, 2023
3899fdb
add tests
dsainati1 Oct 27, 2023
b1551c3
Merge pull request #2789 from onflow/sainati/ban-custom-destructors
dsainati1 Oct 30, 2023
18e4c0d
respond to review
dsainati1 Oct 30, 2023
1be5186
fix lint
dsainati1 Oct 30, 2023
e63c9e7
Merge pull request #2799 from onflow/sainati/default-event-parsing
dsainati1 Oct 30, 2023
54ba253
remove parsing support for requiring entitlements
dsainati1 Oct 30, 2023
3945655
remove support for providing entitlements during attach
dsainati1 Oct 30, 2023
1d8e30b
remove support for declaring attachments with entitlement maps
dsainati1 Oct 30, 2023
7931d90
respond to review
dsainati1 Oct 30, 2023
1e79d89
Merge pull request #2812 from onflow/sainati/default-event-checking
dsainati1 Oct 30, 2023
95ab3a9
fix checker tests
dsainati1 Oct 30, 2023
ed594f3
begin interpreter impl
dsainati1 Oct 31, 2023
eadea37
Add account type migration
SupunS Oct 30, 2023
d3a954d
Move resource tracking to the reference-value constructor
SupunS Oct 31, 2023
a8690a3
Remove 'InvalidatedResourceValidationEnabled' option
SupunS Oct 31, 2023
e577577
Add test from https://github.com/onflow/cadence/pull/2914
SupunS Oct 31, 2023
3ba46df
respond to review
dsainati1 Oct 31, 2023
ceebf15
Merge branch 'feature/remove-destructors' of github.com:onflow/cadenc…
dsainati1 Oct 31, 2023
366366d
use deterministic ordered function map
dsainati1 Oct 31, 2023
e2a80e6
Address review comments
SupunS Oct 31, 2023
2ac7503
Merge pull request #2916 from onflow/supun/refactor-reference-tracking
SupunS Oct 31, 2023
9d6287e
base has different auth in each function
dsainati1 Oct 31, 2023
933b54b
function types carry access information
dsainati1 Oct 31, 2023
990f045
Merge branch 'sainati/function-types-carry-access' of github.com:onfl…
dsainati1 Oct 31, 2023
df59d50
use function access for base
dsainati1 Oct 31, 2023
1cafcab
add missing access
dsainati1 Oct 31, 2023
dde407d
Merge branch 'sainati/function-types-carry-access' of github.com:onfl…
dsainati1 Oct 31, 2023
fb51429
update interpreter tests
dsainati1 Oct 31, 2023
04984bd
fix test
dsainati1 Oct 31, 2023
b278a4e
Merge branch 'sainati/function-types-carry-access' of github.com:onfl…
dsainati1 Oct 31, 2023
0bd33a6
fix tests
dsainati1 Oct 31, 2023
c20839e
dont create empty entitlement sets in the interpreter
dsainati1 Oct 31, 2023
34fbe45
dont create empty entitlement sets anywhere
dsainati1 Oct 31, 2023
9022675
add tests for mapped self and base types
dsainati1 Nov 1, 2023
f761385
fix lint
dsainati1 Nov 1, 2023
c89de29
Move dir to top level
SupunS Nov 1, 2023
229a189
Update runtime/interpreter/interpreter.go
dsainati1 Nov 1, 2023
91716ef
Add tests
SupunS Nov 1, 2023
e0b9d03
respond to review
dsainati1 Nov 1, 2023
a7c7c0c
Refactor
SupunS Nov 1, 2023
3cd0f5d
add comment
dsainati1 Nov 1, 2023
e5af208
rename variables
dsainati1 Nov 1, 2023
d8abdd4
proper lexical scoping and testing
dsainati1 Nov 1, 2023
920ea94
use new activation for default event param evaluation
dsainati1 Nov 2, 2023
539eb68
fix self/contract/account access entitlement functions
dsainati1 Nov 2, 2023
c54caa3
better fix
dsainati1 Nov 2, 2023
d42f94b
Add migration for nested values
SupunS Nov 2, 2023
941745e
fix crash on use of bound functions involving base inside constructor…
dsainati1 Nov 6, 2023
8b64a07
disable entitlement-mapped fields on attachments for now
dsainati1 Nov 6, 2023
85057f4
Collect keys and iterate over keys
SupunS Nov 6, 2023
5bdcb9b
Use single 'storage' across migration and test
SupunS Nov 7, 2023
89fbe55
style
dsainati1 Nov 7, 2023
05f6aaf
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Nov 7, 2023
4045c17
Update runtime/parser/declaration_test.go
dsainati1 Nov 7, 2023
13786b0
review comments
dsainati1 Nov 7, 2023
d1fc770
Merge branch 'sainati/merge-stable-cadence-destructors' of github.com…
dsainati1 Nov 7, 2023
3dd41d5
review comments
dsainati1 Nov 7, 2023
481826f
more argument orders
dsainati1 Nov 7, 2023
1906080
Add more tests
SupunS Nov 7, 2023
7e955a3
Merge pull request #2928 from onflow/sainati/merge-stable-cadence-des…
dsainati1 Nov 7, 2023
50ce823
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Nov 8, 2023
893b08c
Merge branch 'sainati/function-types-carry-access' of github.com:onfl…
dsainati1 Nov 8, 2023
7248b9a
fix tests
dsainati1 Nov 8, 2023
8da6cd1
Fix and simplify container value iteration
SupunS Nov 8, 2023
badd090
Ignore lint for deprectaed types
SupunS Nov 8, 2023
143c915
Extract value traversal out and make it re-usable
SupunS Nov 9, 2023
9edc1d3
Add String normalizing migration
SupunS Nov 9, 2023
03de97f
Generalize the migration code
SupunS Nov 9, 2023
3382e8d
Cleanup code
SupunS Nov 10, 2023
e5782e5
Improve tests
SupunS Nov 10, 2023
9c4363d
include interface conformances in interface supported entitlements
dsainati1 Nov 16, 2023
17ae400
add test
dsainati1 Nov 16, 2023
787812f
Merge pull request #2946 from onflow/sainati/supported-entitlements-i…
dsainati1 Nov 20, 2023
d470d2a
Fix 'updatedInPlace' flag
SupunS Nov 21, 2023
321a85d
Add migration for capability values
SupunS Nov 21, 2023
4a96790
Merge branch 'feature/stable-cadence' of https://github.com/onflow/ca…
SupunS Nov 21, 2023
7005fd2
Merge branch 'supun/account-type-migration' of https://github.com/onf…
SupunS Nov 21, 2023
db67a37
Merge branch 'supun/string-migration' of https://github.com/onflow/ca…
SupunS Nov 21, 2023
a957a46
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Nov 27, 2023
cb4f675
don't get access from function type
dsainati1 Nov 27, 2023
92c2323
remove parsing support for requiring entitlements
dsainati1 Nov 27, 2023
a6eb526
remove support for providing entitlements during attach
dsainati1 Oct 30, 2023
527c9d0
remove support for declaring attachments with entitlement maps
dsainati1 Oct 30, 2023
e906256
fix checker tests
dsainati1 Oct 30, 2023
2b76f59
begin interpreter impl
dsainati1 Nov 27, 2023
1f9ce66
base has different auth in each function
dsainati1 Nov 27, 2023
6bcad92
function types carry access information
dsainati1 Nov 27, 2023
804c8a1
use function access for base
dsainati1 Oct 31, 2023
9369f0b
add missing access
dsainati1 Oct 31, 2023
34cdf7e
update interpreter tests
dsainati1 Nov 27, 2023
f2e169b
fix test
dsainati1 Oct 31, 2023
4f0862f
fix tests
dsainati1 Oct 31, 2023
6143daf
dont create empty entitlement sets in the interpreter
dsainati1 Oct 31, 2023
79e7c80
dont create empty entitlement sets anywhere
dsainati1 Nov 27, 2023
a0ba359
add tests for mapped self and base types
dsainati1 Nov 1, 2023
a679e4f
fix lint
dsainati1 Nov 1, 2023
7c18e16
fix self/contract/account access entitlement functions
dsainati1 Nov 2, 2023
092b491
better fix
dsainati1 Nov 2, 2023
0329243
fix crash on use of bound functions involving base inside constructor…
dsainati1 Nov 6, 2023
cc65c15
disable entitlement-mapped fields on attachments for now
dsainati1 Nov 6, 2023
9bf4268
fix tests
dsainati1 Nov 8, 2023
5851fbd
don't get access from function type
dsainati1 Nov 27, 2023
4cc28d4
fix compile error
dsainati1 Nov 27, 2023
6953645
Merge branch 'sainati/attachment-entitlements' of github.com:onflow/c…
dsainati1 Nov 27, 2023
a5f43bc
Revert "function types carry access information"
dsainati1 Nov 27, 2023
6390ffb
Revert "add missing access"
dsainati1 Nov 27, 2023
4c0c9ec
Revert "fix test"
dsainati1 Nov 27, 2023
cba1f2c
Apply suggestions from code review
dsainati1 Nov 29, 2023
2007e28
remove unnecessary refactor
dsainati1 Nov 29, 2023
ee46be9
Merge branch 'master' of https://github.com/onflow/cadence into supun…
SupunS Dec 4, 2023
ef7f1f7
Fix bound function tests
SupunS Dec 4, 2023
a6bf7a9
Bring back 'inAssignment' flag
SupunS Dec 4, 2023
f2b08fa
Update newly added tests to match stable-cadence changes
SupunS Dec 5, 2023
934aa05
Lint
SupunS Dec 5, 2023
5c8a88f
respond to review
dsainati1 Dec 5, 2023
28e8131
throw error on the creation of a nested reference
dsainati1 Dec 5, 2023
e132ddb
Merge pull request #2964 from onflow/supun/sc-sync-master
SupunS Dec 5, 2023
b39eca3
add optional test
dsainati1 Dec 5, 2023
86cde86
respond to review
dsainati1 Dec 5, 2023
3729bbd
use existing location range variable declarations or introduce declar…
turbolent Dec 5, 2023
495e0a7
Merge pull request #2965 from onflow/sainati/nested-reference-error
dsainati1 Dec 5, 2023
52921ab
Merge pull request #2923 from onflow/supun/account-type-migration
SupunS Dec 5, 2023
d5abe5f
Merge branch 'feature/stable-cadence' of https://github.com/onflow/ca…
SupunS Dec 5, 2023
72ef64f
Merge pull request #2937 from onflow/supun/string-migration
SupunS Dec 5, 2023
f9f6498
Merge branch 'feature/stable-cadence' of https://github.com/onflow/ca…
SupunS Dec 5, 2023
5ba2efb
Fix lint
SupunS Dec 5, 2023
cd54f5d
Merge pull request #2942 from onflow/supun/generalized-migration
SupunS Dec 5, 2023
f24cc57
remove unsafeRandom
turbolent Dec 6, 2023
fd08efb
Merge commit '934aa05e8d9b291bdffb39c7ba633291e3c8e6f7' of github.com…
dsainati1 Dec 6, 2023
c4c8e0a
fix test
dsainati1 Dec 6, 2023
d871c1a
Merge branch 'feature/stable-cadence' of github.com:onflow/cadence in…
dsainati1 Dec 6, 2023
26fbb8c
Merge pull request #2966 from onflow/bastian/remove-unsafe-random
turbolent Dec 6, 2023
4c9fb2a
Merge pull request #2921 from onflow/sainati/attachment-entitlements
dsainati1 Dec 6, 2023
6f1f736
Merge branch 'master' of https://github.com/onflow/cadence into supun…
SupunS Dec 6, 2023
2f7b982
Update reference tracking to match stable-cadence
SupunS Dec 6, 2023
4685136
Update reference tracking to match stable-cadence
SupunS Dec 6, 2023
43ae040
Refactor and cleanup
SupunS Dec 6, 2023
9a995dc
Fix test names
SupunS Dec 7, 2023
84bb2c1
Merge pull request #2968 from onflow/supun/sc-sync-master
SupunS Dec 8, 2023
a09a90d
Merge branch 'feature/stable-cadence' of https://github.com/onflow/ca…
SupunS Dec 8, 2023
d4069ce
Merge pull request #2969 from onflow/supun/cleanup-reference-tracking
SupunS Dec 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: 'onflow/flow-go'
ref: ${{ github.base_ref == 'feature/stable-cadence' && 'feature/stable-cadence' || 'master' }}

- name: Setup Go
uses: actions/setup-go@v3
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: 'onflow/flow-emulator'
ref: ${{ github.base_ref == 'feature/stable-cadence' && 'feature/stable-cadence' || 'master' }}

- name: Setup Go
uses: actions/setup-go@v3
Expand Down
5 changes: 0 additions & 5 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ listed in no particular order.

Cadence should provide a way to define type aliases.

For example, if a contract interface might declare a type requirement `NFT`,
then all concrete conforming types must provide a concrete type `NFT`.

However, it would be nice to give the type an additional, more useful name.

- `Word128` and `Word256` types

Cadence should provide `Word128` and `Word256` types, just like it provides `UInt128` and `UInt256`
Expand Down
7 changes: 4 additions & 3 deletions docs/cadence.ebnf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ fullType
: ( Auth? Ampersand (* followed by no whitespace *) )?
innerType
( (* no whitespace *) Optional)*
| '(' fullType ')'
;


Expand All @@ -223,10 +224,10 @@ nominalType
;

functionType
: '('
'(' ( typeAnnotation ( ',' typeAnnotation )* )? ')'
':' typeAnnotation
: Fun '('
( typeAnnotation ( ',' typeAnnotation )* )?
')'
( ':' typeAnnotation )?
;

variableSizedType
Expand Down
File renamed without changes.
215 changes: 0 additions & 215 deletions docs/subtyping.md

This file was deleted.

Loading
Loading