Skip to content

Support checking for parameter / receiver locality in anonymous functions #126

@paganma

Description

  • Introduce the symbolic value LocalityContract for representing the locality required by a first-order function.
  • Introduce the symbolic value LocalityRequirement representing the locality required for a function argument.
  • Introduce TypeLocalityRequirementResolver to replace DeclarationLocalityResolver.resolveRequired*.
  • Introduce ExpressionLocalityRequirementResolver for resolving the locality requirement of the left-hand side of an assignment.
  • Introduce an ImmediateLocalityContractResolver to resolve the locality contract directly from a function object.
  • Introduce a LocalityContractAnalyzer to resolve the locality contracts in a CFG.
  • Introduce checkers for the conformance of locality contracts.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions