Skip to content

Conversation

@close2
Copy link
Collaborator

@close2 close2 commented Mar 28, 2021

No description provided.

close2 added 3 commits March 28, 2021 03:00
issue #167 reported a bug in line 197.

I am not really sure, why the dart analyzer doesn't warn us that the types could be different.
Setting the type of `text` to `String` (instead of `String?`) and giving it '' as initial value
should fix this bug.
final String mailAddress;

Address([this.mailAddress, this.name]);
const Address(this.mailAddress, [this.name]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we always require an address?


class _IRContentText extends _IRContent {
String? _text;
String _text = '';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should fix the bug mentioned in #167

close2 added 2 commits March 30, 2021 02:53
will improve commit message later
fixes issue #172
fixes issue #171
fixes issue #167
fixes issue #152

improved document for cid (issue #104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants