diff --git a/plc4go/tools/plc4xGenerator/main.go b/plc4go/tools/plc4xGenerator/main.go index 20587572070..2ef3140598f 100644 --- a/plc4go/tools/plc4xGenerator/main.go +++ b/plc4go/tools/plc4xGenerator/main.go @@ -632,6 +632,15 @@ func (f *File) genDecl(node ast.Node) bool { hasLocker: hasLocker, }) continue + case *ast.SelectorExpr: + f.fields = append(f.fields, Field{ + fieldType: set.Sel, + isDelegate: true, + isStringer: isStringer, + asPtr: asPtr, + hasLocker: hasLocker, + }) + continue default: panic(fmt.Sprintf("Only pointer to struct delegates supported now. Type %T", field.Type)) }