Skip to content

Commit

Permalink
check that the overridden constant has a super constant
Browse files Browse the repository at this point in the history
Fixes #1713
  • Loading branch information
i582 committed Feb 5, 2025
1 parent 11c883e commit 3b351ed
Show file tree
Hide file tree
Showing 20 changed files with 7,356 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
trait OverrideBaseTraitConstant with BaseTrait {
override const storageReserve: Int = 100;
}

trait OverrideBaseTraitConstantWithVirtual {
trait OverrideBaseTraitConstantWithVirtual with BaseTrait {
override virtual const storageReserve: Int = 100;
}

Expand Down
Loading

0 comments on commit 3b351ed

Please sign in to comment.