Commit graph

25 commits

Author SHA1 Message Date
Robert Nystrom 61109c447a Bump dart_internal to support Dart 2.15.
Change-Id: I459caf39d812d7c9e799617cf59f38c138b14d32
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210062
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-08-12 21:21:01 +00:00
Kevin Moore 351de9e165 pkg:dart_internal bump support Dart SDK version
Also shorten description

Change-Id: Ida9c7ba0f8c6beb10f218ba53803352b469c7a83
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196044
Reviewed-by: Nate Bosch <nbosch@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2021-04-20 16:24:28 +00:00
Franklin Yow 03101c0c2b Update LICENSE
Changes to comply to internal review

Closes https://github.com/dart-lang/sdk/pull/45568
https://github.com/dart-lang/sdk/pull/45568

TEST=CL contains no code changes.

No-Try: true
GitOrigin-RevId: 65796784e5fdfddaa021b5c55ad435b1db419700
Change-Id: I085a948f16dc9a0de128ed0bd456ae69adf6c124
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193888
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-04-07 10:28:38 +00:00
Brian Wilkerson 9dbc090fc1 Remove an unnecessary ignore comment from dart-internal
Change-Id: I1f2ba877b1eef300f09fc5b67f8e27acd7184e48
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192284
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2021-03-22 18:49:36 +00:00
Robert Nystrom 2ad6249c05 Bump dart_internal to allow 2.12.0.
Change-Id: I05cc978b2b4b7dbd1bf1e1f4d45375646ea90bff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/186400
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
2021-02-23 00:37:06 +00:00
Kevin Moore 47b5a1e9f5 Support the latest SDK with pkg:dart_internal
Change-Id: Ife3c77834df9f781d447a7d3cbc842fb7e44be49
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170140
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Auto-Submit: Kevin Moore <kevmoo@google.com>
2020-11-02 21:51:39 +00:00
Robert Nystrom d966206c6d Add Dart 2.11 to dart_internal SDK constraint.
Change-Id: I5d6f6dd89f99b7b6b88f7683c90f49311823c82e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164252
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
2020-09-24 04:15:39 +00:00
Robert Nystrom 5be77279cd Migrate package:dart_internal to null safety.
This also highlighted a couple of mistakes in the patch files for

dart:_internal and the test.
Change-Id: I60b4e7d5673d64f85a95108c9e03f9328249b9d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153021
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
2020-08-17 23:06:35 +00:00
Kevin Moore bb6cb64287 Remove author from pubspec, add changelog, update repository
Change-Id: I8778fad420f4354cd55d8d79cf3d93e842a94b5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156584
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2020-07-30 21:09:23 +00:00
Nicholas Shahan 851d3875ea [dart_internal] Bump sdk lower bound to 2.0.0
This is simply to get around the new restriction on publishing
packages that depend on a dev version of the sdk.

Change-Id: I523d6732ee2c0bc7b45a73050bff6b327372e5d6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156564
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Auto-Submit: Nicholas Shahan <nshahan@google.com>
2020-07-30 20:23:25 +00:00
Nicholas Shahan b5eca11669 Expand SDK constraint on dart_internal to include 2.9.0
Change-Id: I338463eb12517798af85cd83c771ae40c3c6015d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156280
Reviewed-by: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2020-07-29 18:17:35 +00:00
Sam Rawlins 2c420267b7 analyzer: Do not allow errors to be ignored inline. Fixes #27218
Change-Id: If37dabba3ec18a9f79f44c4ea38d6920a4013019
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140142
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2020-04-10 17:16:24 +00:00
Robert Nystrom 12e81d336f Bump the SDK constraint on dart_internal to permit Dart 2.8.0.
Change-Id: I8f9dfcd2c361b28f62e7388fc642414efbd120aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/141021
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
2020-03-26 17:51:53 +00:00
Robert Nystrom 5adff879e3 Widen the SDK constraint on dart_internal to include 2.7.0.
Change-Id: I55e9b1224f69268ccfb8ba345d3a9d62d3d93838
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127449
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2019-12-06 00:54:30 +00:00
Nicholas Shahan 8d7daafdaf [dart_internal] Bump SDK upper-bound to <2.7.0
Change-Id: I5c43563149010d9715e32370a5f983d45d09039c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117164
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2019-09-13 22:01:16 +00:00
Robert Nystrom b6455ab53a Expand the version range for dart_internal to allow 2.5.x versions.
Change-Id: If258cf17fa6abec57d0245024d0e47675567680d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112922
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2019-08-14 00:36:16 +00:00
Nicholas Shahan 4f71abcd71 [dart_internal] Bump SDK constraint upper-bound to <2.5.0
Issue: #37324
Change-Id: Ibea63bb775c83484523fb8d6caeda918df25e849
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106949
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2019-06-21 00:39:25 +00:00
Nicholas Shahan f5224b53e4 [dart_internal] Bump SDK constraint upper-bound to <2.4.0
Change-Id: Iaad5890187b02562ae97ccc5195b0576cb58e564
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99860
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2019-04-20 00:58:51 +00:00
Nicholas Shahan e29835749a [dart_internal] Bump SDK constraint upper-bound to <2.3.0
Change-Id: I0e992e40150a7eb0af7f6a039597eca89f5d9a9c
Reviewed-on: https://dart-review.googlesource.com/c/94355
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2019-02-26 17:39:50 +00:00
Nicholas Shahan c8cf355c54 Bump package dart_internal's SDK constraint upper-bound to <2.2.0
Change-Id: I74914268c1e15fae85ef39977ab51c8aa08761f3
Reviewed-on: https://dart-review.googlesource.com/c/79426
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2018-10-15 21:37:56 +00:00
Bob Nystrom c67cf2090a Make warning more warning-y.
Change-Id: If5ecb0f3a8ac94acd0f3fe13e315df47029107b6
Reviewed-on: https://dart-review.googlesource.com/44680
Reviewed-by: Nate Bosch <nbosch@google.com>
2018-03-02 02:04:44 +00:00
Bob Nystrom b8e4af7588 Increase dart_internal's lower SDK bound.
(This is mainly needed to allow using it with bleeding edge SDKs.)

Change-Id: Ie90d4dd51c03b1f48b42066041e9f5b743d791cb
Reviewed-on: https://dart-review.googlesource.com/44401
Reviewed-by: Natalie Weizenbaum <nweiz@google.com>
2018-03-01 00:40:53 +00:00
Bob Nystrom 6238a55450 Get ready to publish dart_internal.
We need to use it in the observable package, which is externally
available, so it needs to be able to access it from pub.

Change-Id: I85a1488decb5ef4acd062e2fb3556e7d589e2c8c
Reviewed-on: https://dart-review.googlesource.com/44385
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2018-02-28 23:53:14 +00:00
Bob Nystrom 0e2ca151e0 Disable analyzer warning on special 'dart:_internal' import.
Change-Id: Ic8c2519555dd0159ff85581d1669cdf0703332ca
Reviewed-on: https://dart-review.googlesource.com/31242
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2017-12-21 23:21:04 +00:00
Bob Nystrom 03c8767f73 Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371.
There is no actual implementation here yet (that's your job :) ), but there is:

- An external method in dart:_internal, extractTypeArguments().
- Empty patch methods for that for the VM, dart2js, and DDC. These need to have implementations
  filled in.
- A "dart_internal" package to expose a subset of the API. It gives you:

    extractListTypeArgument()
    extractMapTypeArguments()

  We'll bring this into Google, but not publish it externally unless we find we really need to.
- A test for the behavior. It probably has bugs since I can't run it.

See: https://github.com/dart-lang/sdk/issues/31371
Change-Id: I7d9f9a3a36f8e8be106440375c80d584898c83cb
Reviewed-on: https://dart-review.googlesource.com/26467
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2017-12-08 21:57:00 +00:00