Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
syberside committed Sep 16, 2019
1 parent ab7d140 commit c5e2da7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/src/post_activation/fields_filler.dart
Expand Up @@ -36,7 +36,7 @@ class FieldsFiller {
name = name.substring(0, name.length - 1);
var symbol = MirrorSystem.getSymbol(name);

var value = ctx.create(setter.returnType.reflectedType, ctx);
var value = ctx.create(setter.parameters.first.type.reflectedType, ctx);
reflected.setField(symbol, value);
}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: activatory
description: Test data generator aimed to simplify Test-Driven Development with Dart
version: 0.0.20
version: 0.0.21
homepage: https://github.com/syberside/Activatory
author: syberside

Expand Down
3 changes: 1 addition & 2 deletions test/test-classes.dart
Expand Up @@ -56,7 +56,6 @@ class DefaultPositionalValues {
final String _notNullString;
final PrimitiveComplexObject _notSetObject;
final PrimitiveComplexObject _nullSetObject;
final Object _a;

DefaultPositionalValues([this._notSetObject, this._nullSetObject = null, this._nullSetString = null, this._notNullString = defaultStringValue]);

Expand Down Expand Up @@ -290,5 +289,5 @@ class FiledsWithPublicSetters {

String get publicProperty => _publicProperty;

String set publicProperty(String value) => _publicProperty = value;
void set publicProperty(String value) => _publicProperty = value;
}

0 comments on commit c5e2da7

Please sign in to comment.