Skip to content

Commit

Permalink
Merge pull request #2971 from onflow/feature/stable-cadence
Browse files Browse the repository at this point in the history
Merge Stable Cadence branch into master
  • Loading branch information
dsainati1 authored Dec 11, 2023
2 parents c966069 + d4069ce commit 0a5bb7d
Show file tree
Hide file tree
Showing 471 changed files with 83,997 additions and 57,723 deletions.
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

0 comments on commit 0a5bb7d

Please sign in to comment.