File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ func availableDefaultFunctions(compositeType *CompositeType) map[string]struct{}
321
321
return defaultFunctions
322
322
}
323
323
324
- // declareCompositeNestedTypes declares the types nested in a composite,
324
+ // declareCompositeLikeNestedTypes declares the types nested in a composite,
325
325
// and the constructors for them if `declareConstructors` is true
326
326
// and `kind` is `ContainerKindComposite`.
327
327
//
@@ -769,7 +769,7 @@ func (checker *Checker) declareAttachmentMembersAndValue(declaration *ast.Attach
769
769
checker .declareCompositeLikeMembersAndValue (declaration )
770
770
}
771
771
772
- // declareCompositeMembersAndValue declares the members and the value
772
+ // declareCompositeLikeMembersAndValue declares the members and the value
773
773
// (e.g. constructor function for non-contract types; instance for contracts)
774
774
// for the given composite declaration, and recursively for all nested declarations.
775
775
//
You can’t perform that action at this time.
0 commit comments