slang icon indicating copy to clipboard operation
slang copied to clipboard

Constructors, interfaces, `this` scope, getters and virtual modifiers

Open ggiraldez opened this issue 1 year ago • 1 comments

This PR adds support for several new areas:

  • Contract constructors are now properly connected to the contract lexical scope
  • Calling a contract constructor using named parameters
  • this provides a scope with access to the current contracts functions
  • State variables declared public are exposed as external functions
  • Improve function modifiers by allowing and correctly resolving inherited and virtual ones
  • Support interface inheritance

ggiraldez avatar Sep 23 '24 22:09 ggiraldez

⚠️ No Changeset found

Latest commit: 5361a4b2273a4034e31e6c156fb559d29a9527f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Sep 23 '24 22:09 changeset-bot[bot]