-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dart-basics to support null safety #24
Conversation
Finally fixed the pubspec issues, so this is ready for review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
██╗ ██████╗ ████████╗███╗ ███╗
██║ ██╔════╝ ╚══██╔══╝████╗ ████║
██║ ██║ ███╗ ██║ ██╔████╔██║
██║ ██║ ██║ ██║ ██║╚██╔╝██║
███████╗╚██████╔╝ ██║ ██║ ╚═╝ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
strings.max((a, b) => a.length.compareTo(b.length)).value, | ||
equals('aaa'), | ||
); | ||
strings.max((a, b) => a.length.compareTo(b.length))!, equals('aaa')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: personally I prefer how the formatter formats this when there is a trailing comma.
strings.max((a, b) => a.length.compareTo(b.length))!, equals('aaa')); | |
strings.max((a, b) => a.length.compareTo(b.length))!, equals('aaa'),); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates all code and tests, pubspec, and CLI config to support NNBD.
Pubspec and CLI changes will eventually have to be reverted once NNBD is included in the stable release.