Daniel Sainati

Results 30 issues of Daniel Sainati

Implementation of https://github.com/onflow/cadence/issues/1806 (further discussion can be found there). ## Description This FLIP proposes to add a new syntax and semantic analysis to determine which functions in Cadence have side...

Breaking Change
FLIP
Cadence

This adds a FLIP proposing to remove public fields on resources in Cadence. See more discussion here: https://github.com/onflow/cadence/issues/1322 ______ For contributor use: - [X] Targeted PR against `master` branch -...

FLIP
Cadence
S-Governance

### Problem https://github.com/onflow/flow-core-contracts/blob/master/contracts/LockedTokens.cdc#L231 The linked code does not behave the way it appears to; the `as?` in this line does not actually function as a reference operator. In a future...

bug
Feedback
SC-Eng

Adds FLIP proposing adding Extensions to Cadence. See discussion in https://forum.onflow.org/t/extensibility/622 and https://github.com/onflow/cadence/issues/357 ______ For contributor use: - [X] Targeted PR against `master` branch - [X] Linked to Github issue...

FLIP
Cadence

Part of https://github.com/onflow/cadence/issues/357 Closes https://github.com/onflow/cadence/issues/2060 ## Description As described in https://github.com/onflow/flips/blob/main/cadence/2022-09-21-attachments.md, this adds parsing for three new syntax forms: * `AttachmentDeclaration`s declare a new attachment and can have a name,...

Feature

Closes #1244 ## Description Adds the following method to `AuthAccount` objects: ``` fun forceSave(_ value: T, to path: Path): Bool ``` This will save a value to the specified path,...

Feature

Closes #1245 Adds a new method to the `AuthAccount` object: ``` fun clear(_ path: Path): Bool ``` This function deletes whatever is present at the specified path, destroying any resources,...

Feature