-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
Describe the bug
This gives an error:
Error: Undefined name 'MyStruct'.
MyStruct._(Logic(name: 'ready'), Logic(name: 'valid'));
^^^^^^^^
class ReadyValidStruct extends LogicStructure {
final Logic ready;
final Logic valid;
factory ReadyValidStruct() => MyStruct._(
Logic(name: 'ready'),
Logic(name: 'valid'),
);
ReadyValidStruct._(this.ready, this.valid)
: super([ready, valid], name: 'readyValid');
@override
LogicStructure clone({String? name}) => ReadyValidStruct();
}
To Reproduce
No response
Expected behavior
No response
Actual behavior
No response
Additional: Dart SDK info
No response
Additional: pubspec.yaml
Additional: Context
No response
mkorbel1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers