update for the null safety dev sdk release and eventual stable (#70)
* update for the null safety dev sdk release and eventual stable
* remove language version comments from tests
* update version number
diff --git a/.travis.yml b/.travis.yml
index f35514e..d2dcc4f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@
- stage: analyze_and_format
name: "Analyzer"
os: linux
- script: dartanalyzer --enable-experiment=non-nullable --fatal-warnings --fatal-infos .
+ script: dartanalyzer --fatal-warnings --fatal-infos .
- stage: analyze_and_format
name: "Format"
os: linux
@@ -16,11 +16,11 @@
- stage: test
name: "Vm Tests"
os: linux
- script: pub run --enable-experiment=non-nullable test -p vm
+ script: pub run test -p vm
- stage: test
name: "Web Tests"
os: linux
- script: pub run --enable-experiment=non-nullable test -p chrome
+ script: pub run test -p chrome
stages:
- analyze_and_format
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f0a7337..abd0bd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,4 @@
-## 1.0.0-nullsafety.1-dev
-
-* Expand sdk constraint to allow the 2.11 dev sdk.
-
-## 1.0.0-nullsafety
+## 1.0.0-nullsafety.0
* Migrate to null safety.
* This is meant to be mostly non-breaking, for opted in users runtime errors
diff --git a/pubspec.yaml b/pubspec.yaml
index eae6d51..1e232ce 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,17 +1,13 @@
name: fixnum
-version: 1.0.0-nullsafety.1-dev
+version: 1.0.0-nullsafety.0
description: >-
Library for 32- and 64-bit signed fixed-width integers with consistent
behavior between native and JS runtimes.
homepage: https://github.com/dart-lang/fixnum
-# We are not ready to publish NNBD packages yet.
-publish_to: none
-
environment:
- # This must remain a tight constraint until nnbd is stable
- sdk: '>=2.10.0-0 <2.12.0'
+ sdk: '>=2.12.0-0 <3.0.0'
dev_dependencies:
pedantic: ^1.10.0-nullsafety
diff --git a/test/int32_test.dart b/test/int32_test.dart
index 2e14da9..d676111 100644
--- a/test/int32_test.dart
+++ b/test/int32_test.dart
@@ -1,9 +1,6 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-//
-// TODO: Remove https://github.com/dart-lang/sdk/issues/43605
-// @dart=2.11
import 'package:fixnum/fixnum.dart';
import 'package:test/test.dart';
diff --git a/test/int64_test.dart b/test/int64_test.dart
index e5073c5..cd2f89b 100644
--- a/test/int64_test.dart
+++ b/test/int64_test.dart
@@ -1,9 +1,6 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-//
-// TODO: Remove https://github.com/dart-lang/sdk/issues/43605
-// @dart=2.11
// We permit local variable types in this test because they statically 'assert'
// that the operations have an expected type.
diff --git a/test/int_64_vm_test.dart b/test/int_64_vm_test.dart
index 52b96bd..2ab161e 100644
--- a/test/int_64_vm_test.dart
+++ b/test/int_64_vm_test.dart
@@ -1,9 +1,6 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-//
-// TODO: Remove https://github.com/dart-lang/sdk/issues/43605
-// @dart=2.11
@TestOn('vm')