This repository was archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
8e85e91
Fix test for Dart 2.0 ints
keertip f0ceb28
Update pubspec.yaml
keertip a38bed6
Update typed_buffers_test.dart
keertip 17dd960
Update typed_buffers_test.dart
keertip 1ef39b8
Add 2^63 back to test data
keertip 0f708e1
Update CHANGELOG.md
keertip a910496
Update typed_buffers_test.dart
keertip 3aff9c8
Fix tests
keertip cb6896a
Merge branch 'tests' of github.com:dart-lang/typed_data into tests
keertip 58532e0
run tests only on dev
keertip 6ee3ab8
Update pubspec
keertip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| language: dart | ||
| dart: | ||
| - dev | ||
| - stable | ||
|
|
||
| dart_task: | ||
| - test: -p vm,firefox | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| name: typed_data | ||
| version: 1.1.5 | ||
| version: 1.1.6 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this doesn't change any user-consumable code, can we just make it 1.1.6-dev?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. bumped version and updated sdk constraints. does this look ok? |
||
| author: Dart Team <misc@dartlang.org> | ||
| description: Utility functions and classes related to the 'dart:typed_data' library. | ||
| homepage: https://github.com/dart-lang/typed_data | ||
| dev_dependencies: | ||
| test: "^0.12.0" | ||
| environment: | ||
| sdk: ">=1.8.0 <2.0.0" | ||
| sdk: ">=2.0.0-dev.16.0 <2.0.0" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does this really need to drop stable? I don't see BigInt being used...
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.
The except in the test returns different results on stable and dev, cause of difference in int64 behavior in the VM. Fixed it for dev16, but now it fails on stable.
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.
Oh...hrm...
Couldn't we modify the tests so they work on both?
My concern: if we drop testing for stable, we should likely drop it in the pubspec, too.
But it'd be nice to avoid that since – AFAICT – there is no behavior change
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.
With dev 16, min-1=max and max+1=min for int 64, so it wraps around. So now min-1 and max+1 are contained in the buffer, whereas previously they were not. This is a corner case, but it is a change in behavior. So change the pubspec?
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.
@lrhn ?
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.
Sure, change the pubspec to require the next version of the SDK,
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.
@kevmoo ptal.