0.1.62 (#1167)

* 0.1.62

# 0.1.62

* new lint: `prefer_mixin`
* new lint: `avoid_implementing_value_types`

* dep override to make dart_style happy

* updated to new parser behavior

* updated to spec for const expressions

* bump sdk constraint
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 24c5954..6df9a40 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+# 0.1.62
+
+* new lint: `prefer_mixin`
+* new lint: `avoid_implementing_value_types`
+
 # 0.1.61
 
 * new lint: `flutter_style_todos`
diff --git a/pubspec.yaml b/pubspec.yaml
index f9f115c..8099157 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: linter
-version: 0.1.61
+version: 0.1.62
 
 author: Dart Team <misc@dartlang.org>
 
@@ -7,7 +7,7 @@
 homepage: https://github.com/dart-lang/linter
 
 environment:
-  sdk: '>=2.0.0-dev <3.0.0'
+  sdk: '>=2.1.0-dev.4.0 <3.0.0'
 
 dependencies:
   analyzer: ^0.33.0-alpha.0
@@ -17,6 +17,10 @@
   source_span: ^1.0.2
   yaml: ^2.1.2
 
+# remove once dart-style has been updated: https://github.com/dart-lang/dart_style/issues/736
+dependency_overrides:
+  analyzer: ^0.33.0-alpha.0
+
 dev_dependencies:
   cli_util: ^0.1.2
   dart_style: ^1.1.0
diff --git a/test/_data/synthetic/synthetic.dart b/test/_data/synthetic/synthetic.dart
index 56c5cee..0f399c6 100644
--- a/test/_data/synthetic/synthetic.dart
+++ b/test/_data/synthetic/synthetic.dart
@@ -2,5 +2,5 @@
 // The simple identifier synthesized after `XXX` below triggers the
 // `non_constant_identifier_names` lint.
 // See: https://github.com/dart-lang/linter/issues/193
-void main() { }
-XXX
+class C <E>{ }
+C<int>;
diff --git a/test/rules/prefer_const_constructors_in_immutables.dart b/test/rules/prefer_const_constructors_in_immutables.dart
index e5bdd3b..9adebe0 100644
--- a/test/rules/prefer_const_constructors_in_immutables.dart
+++ b/test/rules/prefer_const_constructors_in_immutables.dart
@@ -76,7 +76,15 @@
 @immutable
 class H {
   final f;
-  H(f) : f = f ?? f == null; // OK
+  H(f) : f = f ?? f == null; // LINT
+}
+
+int not_const = 0;
+
+@immutable
+class HH {
+  final f;
+  HH(f) : f = not_const; // OK
 }
 
 // no lint for class with final field initialized with new