We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d7764 commit b23a0beCopy full SHA for b23a0be
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## 0.3.21 (2023-02-17)
4
+
5
+- Generate `WithInit` contract variant for abstract but fully implemented contracts.
6
7
## 0.3.20 (2023-02-11)
8
9
- Fix support for immutable variables of user defined value types.
src/generate-with-init.ts
@@ -23,7 +23,7 @@ export function generateWithInit(
23
24
for (const sourceUnit of transform.asts()) {
25
for (const contract of findAll('ContractDefinition', sourceUnit)) {
26
- if (contract.contractKind !== 'contract' || contract.abstract) {
+ if (contract.contractKind !== 'contract' || !contract.fullyImplemented) {
27
continue;
28
}
29
0 commit comments