Skip to content
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

chore: set max SDK version to <3.0.0 #46

Merged
merged 3 commits into from
Jul 17, 2018

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Jul 16, 2018

@kevmoo kevmoo requested a review from nex3 July 17, 2018 17:08
@@ -1,2 +1 @@
analyzer:
Copy link
Member

Choose a reason for hiding this comment

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

Just delete this file entirely if it's not configuring anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

pubspec.yaml Outdated
charcode: ^1.1.0
collection: ^1.14.10
string_scanner: ^1.0.2
source_span: ^1.4.0
Copy link
Member

Choose a reason for hiding this comment

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

Why are you narrowing these constraints?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(For the reasons I explained yesterday, but I'll add them back)

test/utils.dart Outdated
@@ -7,7 +7,7 @@ import 'package:yaml/src/equality.dart' as equality;
import 'package:yaml/yaml.dart';

/// A matcher that validates that a closure or Future throws a [YamlException].
final Matcher throwsYamlException = throwsA(new isInstanceOf<YamlException>());
final Matcher throwsYamlException = throwsA(TypeMatcher<YamlException>());
Copy link
Member

Choose a reason for hiding this comment

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

I believe there are still frontends in use, at least within Google, that don't yet support optional new.

Also, if you are using it, you should update the SDK constraint to exclude any SDKs where frontends don't use Dart 2 by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding new back

pubspec.yaml Outdated
path: ">=1.2.0 <2.0.0"
test: ">=0.12.0 <0.13.0"
path: ^1.6.1
test: ^1.2.0
Copy link
Member

Choose a reason for hiding this comment

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

These dependencies also shouldn't be narrowed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, sorry for having missed those. Done

@kevmoo kevmoo merged commit b0067c4 into dart-lang:master Jul 17, 2018
@chalin chalin deleted the chalin-max-sdk-to-3-0716 branch July 17, 2018 20:22
mosuem pushed a commit to dart-lang/tools that referenced this pull request Dec 11, 2024
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.

4 participants