Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generator/lib/code_builders/method_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ ConstructorElement _chooseConstructor(ClassElement outputClass) {

List<FieldElement> _findFields(ClassElement clazz) {
final allSuperclasses = clazz.allSupertypes
.map((e) => e.element)
.where((element) => !element.isDartCoreObject)
.map((e) => e.element)
.toList();

final allAccessors = allSuperclasses.map((e) => e.accessors).expand((e) => e);
Expand Down
16 changes: 8 additions & 8 deletions generator/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ packages:
name: _fe_analyzer_shared
url: "https://pub.dartlang.org"
source: hosted
version: "47.0.0"
version: "52.0.0"
analyzer:
dependency: "direct main"
description:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "4.7.0"
version: "5.4.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -91,14 +91,14 @@ packages:
name: code_builder
url: "https://pub.dartlang.org"
source: hosted
version: "4.3.0"
version: "4.4.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
version: "1.17.1"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -399,21 +399,21 @@ packages:
name: test
url: "https://pub.dartlang.org"
source: hosted
version: "1.21.4"
version: "1.22.2"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.12"
version: "0.4.18"
test_core:
dependency: transitive
description:
name: test_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.16"
version: "0.4.22"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -457,4 +457,4 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=2.17.0 <3.0.0"
dart: ">=2.18.0 <3.0.0"
8 changes: 4 additions & 4 deletions generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ environment:
dev_dependencies:
lints: ^1.0.1
source_gen_test: ^1.0.2
test: ^1.20.1
test: ^1.22.2
dependencies:
analyzer: ^4.0.0
build: ^2.2.1
code_builder: ^4.1.0
analyzer: ">=5.0.0 <6.0.0"
build: ^2.3.1
code_builder: ^4.4.0
path: ^1.8.1
#smartstruct:
# path: ../smartstruct
Expand Down