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

Contract inheritance #289

Merged
merged 31 commits into from
Dec 27, 2023
Merged

Contract inheritance #289

merged 31 commits into from
Dec 27, 2023

Conversation

joe-p
Copy link
Contributor

@joe-p joe-p commented Dec 15, 2023

Allows one contract to inherit properties and methods from another.

Closes #186
Closes #265
Fixes #290

TODO

  • Support single-level inheritance
  • Support multi-level inheritance
  • Support multi-contract inheritance
  • Ensure inheritance from other files works as expected
  • Support protected methods
  • Ensure the correct file context (types, constants) is used when importing external contracts
  • Fix path shown when an error occurs

Copy link

netlify bot commented Dec 15, 2023

Deploy Preview for tealscript canceled.

Name Link
🔨 Latest commit 69c5caf
🔍 Latest deploy log https://app.netlify.com/sites/tealscript/deploys/658ad3cd7ecaf1000871bf66

@joe-p joe-p marked this pull request as draft December 15, 2023 19:39
@joe-p joe-p marked this pull request as ready for review December 27, 2023 14:07
@joe-p joe-p merged commit 8bd21f2 into dev Dec 27, 2023
5 checks passed
@joe-p joe-p deleted the feat/inheritance branch December 28, 2023 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants