Roll Dart to 3.8.0-76.0.dev (#162913)

https://dart.googlesource.com/sdk.git/+log/548dcc7a544dd23b8835be61e5d790d8001a2d0c..99789828cc95b713f33dfb7b19a6430f617ee9f2

[9978982](https://dart.googlesource.com/sdk.git/+/99789828cc95b713f33dfb7b19a6430f617ee9f2)
[Version
3.8.0-76.0.dev](https://dart.googlesource.com/sdk.git/+/99789828cc95b713f33dfb7b19a6430f617ee9f2)
by Dart CI · 4 hours ago
[lkgr-dev](https://dart.googlesource.com/sdk.git/+/refs/heads/lkgr-dev)
[3.8.0-76.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.8.0-76.0.dev)

[89af242](https://dart.googlesource.com/sdk.git/+/89af2425f23bfb127ab39c2f73e9149042715443)
[[ddc] Append hot restart instruction to hot reload rejection
reasons.](https://dart.googlesource.com/sdk.git/+/89af2425f23bfb127ab39c2f73e9149042715443)
by Nate Biggs · 6 hours ago

[3b42c4f](https://dart.googlesource.com/sdk.git/+/3b42c4fec851d0dc82fbc1c8c0ff93f6db52ffe9)
[Version
3.8.0-75.0.dev](https://dart.googlesource.com/sdk.git/+/3b42c4fec851d0dc82fbc1c8c0ff93f6db52ffe9)
by Dart CI · 8 hours ago
[3.8.0-75.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.8.0-75.0.dev)

[89e545c](https://dart.googlesource.com/sdk.git/+/89e545c5cc939f5861faace1d78252fd2aca834f)
[[dot-shorthands][co19] Rename enum-shorthands flag to dot-shorthands
(and roll co19 to
b14b080)](https://dart.googlesource.com/sdk.git/+/89e545c5cc939f5861faace1d78252fd2aca834f)
by Kallen Tu · 8 hours ago
[base](https://dart.googlesource.com/sdk.git/+/refs/heads/base)

[e0b0c33](https://dart.googlesource.com/sdk.git/+/e0b0c33937e783f8420884fdd4a7f3305640df47)
[[cfe] Remove nullaiblity requirement from shape sufficiency
checks](https://dart.googlesource.com/sdk.git/+/e0b0c33937e783f8420884fdd4a7f3305640df47)
by Chloe Stefantsova · 11 hours ago

[2c81261](https://dart.googlesource.com/sdk.git/+/2c81261f941db1717c2b975ef8395a96ca3b97b4)
[[cfe] Use last token for missing constructor
error](https://dart.googlesource.com/sdk.git/+/2c81261f941db1717c2b975ef8395a96ca3b97b4)
by Johnni Winther · 11 hours ago

[4c0121f](https://dart.googlesource.com/sdk.git/+/4c0121f2d3dd7ee33776d83f85f6ff1403aefc92)
[[cfe] Run ErrorCommentCheck
last](https://dart.googlesource.com/sdk.git/+/4c0121f2d3dd7ee33776d83f85f6ff1403aefc92)
by Johnni Winther · 13 hours ago

[26c5df2](https://dart.googlesource.com/sdk.git/+/26c5df200f796eb9cb6a5446dd3865430308fb39)
[Version
3.8.0-74.0.dev](https://dart.googlesource.com/sdk.git/+/26c5df200f796eb9cb6a5446dd3865430308fb39)
by Dart CI · 16 hours ago
[3.8.0-74.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.8.0-74.0.dev)

[19622c5](https://dart.googlesource.com/sdk.git/+/19622c5238bfeab0b7ebe45ae2ebea237e7a57f1)
[Update
issue-triage.yml](https://dart.googlesource.com/sdk.git/+/19622c5238bfeab0b7ebe45ae2ebea237e7a57f1)
by Devon Carew · 17 hours ago

[31ab99c](https://dart.googlesource.com/sdk.git/+/31ab99c258d15312c92920b938d7fbe524888909)
[Version
3.8.0-73.0.dev](https://dart.googlesource.com/sdk.git/+/31ab99c258d15312c92920b938d7fbe524888909)
by Dart CI · 20 hours ago
[3.8.0-73.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.8.0-73.0.dev)

[26b3e61](https://dart.googlesource.com/sdk.git/+/26b3e61ffe454fcf41dd628e868f0234143549a5)
[Prepare to publish analyzer 7.3.0 and _fe_analyzer_shared
80.0.0](https://dart.googlesource.com/sdk.git/+/26b3e61ffe454fcf41dd628e868f0234143549a5)
by Konstantin Shcheglov · 21 hours ago

[dd22a35](https://dart.googlesource.com/sdk.git/+/dd22a358a64010fa574e1e851a0ed0c00585965c)
[[dart2js] Adding some documentation on split
constraints.](https://dart.googlesource.com/sdk.git/+/dd22a358a64010fa574e1e851a0ed0c00585965c)
by Sigmund Cherem · 22 hours ago

[e962350](https://dart.googlesource.com/sdk.git/+/e962350dd658469eea8c3f4031d1f2d046bd6139)
[[dart2js] Simply is-test when type parameters not
needed](https://dart.googlesource.com/sdk.git/+/e962350dd658469eea8c3f4031d1f2d046bd6139)
by Stephen Adams · 23 hours ago

[27a58d9](https://dart.googlesource.com/sdk.git/+/27a58d9e2da681f2f1f7ed9cfcf168d36b9dfe59)
[Version
3.8.0-72.0.dev](https://dart.googlesource.com/sdk.git/+/27a58d9e2da681f2f1f7ed9cfcf168d36b9dfe59)
by Dart CI · 24 hours ago
[3.8.0-72.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.8.0-72.0.dev)

[7349ef5](https://dart.googlesource.com/sdk.git/+/7349ef5e1187c99a835f5f35466f1e5e37b0ca65)
[[analyzer] Fix message for
ENUM_WITHOUT_CONSTANTS](https://dart.googlesource.com/sdk.git/+/7349ef5e1187c99a835f5f35466f1e5e37b0ca65)
by Jaime Wren · 25 hours ago

[f4cfbf9](https://dart.googlesource.com/sdk.git/+/f4cfbf9cdce38b6cd59a740ca56dd3bf70ec48f9)
[Update create function fix to create an async function for await
expressions](https://dart.googlesource.com/sdk.git/+/f4cfbf9cdce38b6cd59a740ca56dd3bf70ec48f9)
by Jake Macdonald · 26 hours ago

[50f96d6](https://dart.googlesource.com/sdk.git/+/50f96d6e5b015bfc32fa7fbc9cdde6dbe48e4cce)
[Revert "[diagnostics] fix `removed_lint`
reporting"](https://dart.googlesource.com/sdk.git/+/50f96d6e5b015bfc32fa7fbc9cdde6dbe48e4cce)
by Phil Quitslund · 26 hours ago

[7559108](https://dart.googlesource.com/sdk.git/+/755910894551477f350da8bba3cb59a15d6a1ff4)
[[DAS] Tests for parameter
highlights](https://dart.googlesource.com/sdk.git/+/755910894551477f350da8bba3cb59a15d6a1ff4)
by FMorschel · 27 hours ago

[8dab178](https://dart.googlesource.com/sdk.git/+/8dab17891290f42242d4a2478f0bd7d5a1f09441)
[[dds/dap] Remove macro
tests](https://dart.googlesource.com/sdk.git/+/8dab17891290f42242d4a2478f0bd7d5a1f09441)
by Danny Tuppeny · 28 hours ago

[93847ce](https://dart.googlesource.com/sdk.git/+/93847ce649b21e8646eca74ace03597bf7a4c507)
[[productivity] server test launch config and generate
task](https://dart.googlesource.com/sdk.git/+/93847ce649b21e8646eca74ace03597bf7a4c507)
by pq · 28 hours ago

[dd4f341](https://dart.googlesource.com/sdk.git/+/dd4f341e157bb4c2114f3ed02ad6c022363e720a)
[[dart2bytecode] Add API to invoke dart2bytecode
programmatically](https://dart.googlesource.com/sdk.git/+/dd4f341e157bb4c2114f3ed02ad6c022363e720a)
by Alexander Markov · 31 hours ago

[c19f913](https://dart.googlesource.com/sdk.git/+/c19f913d50220a97e8bded07de33ba49ce9f88db)
[[co19] Roll co19 to
dd7fa9c980a47c5196c192046f5d4a43dbce70ef](https://dart.googlesource.com/sdk.git/+/c19f913d50220a97e8bded07de33ba49ce9f88db)
by Sergey G. Grekhov · 35 hours ago

[440593f](https://dart.googlesource.com/sdk.git/+/440593fe9d80b59017d8ba876b198f12c9cca0c9)
[[gardening] Mark test
slow](https://dart.googlesource.com/sdk.git/+/440593fe9d80b59017d8ba876b198f12c9cca0c9)
by Daco Harkes · 35 hours ago

[9200023](https://dart.googlesource.com/sdk.git/+/9200023b49f0f549494cc47564a2a075d2e14691)
[Use `AsyncError` more in future error
handling.](https://dart.googlesource.com/sdk.git/+/9200023b49f0f549494cc47564a2a075d2e14691)
by Lasse R.H. Nielsen · 35 hours ago

[7566327](https://dart.googlesource.com/sdk.git/+/756632700b856ec3b7b0d3573f60f95bc2b0072f)
[[deps] Update
benchmarks_internal](https://dart.googlesource.com/sdk.git/+/756632700b856ec3b7b0d3573f60f95bc2b0072f)
by Ömer Sinan Ağacan · 35 hours ago

[9f529ae](https://dart.googlesource.com/sdk.git/+/9f529aefc4df2662c9119336b6149ed0e7cb900e)
[[cfe] Add
TypeParameterFragment](https://dart.googlesource.com/sdk.git/+/9f529aefc4df2662c9119336b6149ed0e7cb900e)
by Johnni Winther · 2 days ago

[72963bf](https://dart.googlesource.com/sdk.git/+/72963bf6f0b4098bda46ee3a9a16f0d989936902)
[[dart2wasm] Fix inlining issue after introducing unchecked
entrypoints](https://dart.googlesource.com/sdk.git/+/72963bf6f0b4098bda46ee3a9a16f0d989936902)
by Martin Kustermann · 2 days ago

[e05a423](https://dart.googlesource.com/sdk.git/+/e05a423e049c8ea0193db1edd681d2f9f39771c9)
[[dart2wasm] Avoid extra global definitions for int constants that are
wasmI32.](https://dart.googlesource.com/sdk.git/+/e05a423e049c8ea0193db1edd681d2f9f39771c9)
by Nate Biggs · 2 days ago

[07b7cfe](https://dart.googlesource.com/sdk.git/+/07b7cfed076131afbb10b695bdcad75023305ace)
[New assist to add/edit `hide` at import for ambiguous
import](https://dart.googlesource.com/sdk.git/+/07b7cfed076131afbb10b695bdcad75023305ace)
by FMorschel · 2 days ago

[8aa6b41](https://dart.googlesource.com/sdk.git/+/8aa6b413ebe0986e8be47137409dd8ab3a8220a8)
[[ddc] Update hot reload test suite to use
recompile-restart](https://dart.googlesource.com/sdk.git/+/8aa6b413ebe0986e8be47137409dd8ab3a8220a8)
by Srujan Gaddam · 2 days ago

[4617198](https://dart.googlesource.com/sdk.git/+/4617198d58001a1192e829a65d53c5ad2c14e28d)
[[vm] Add option for GC at
[re]throw.](https://dart.googlesource.com/sdk.git/+/4617198d58001a1192e829a65d53c5ad2c14e28d)
by Ryan Macnak · 2 days ago

[3700d33](https://dart.googlesource.com/sdk.git/+/3700d3320375443d333fa559240e3fec247fbd95)
[Elements. Migrate
type_algebra_test.dart](https://dart.googlesource.com/sdk.git/+/3700d3320375443d333fa559240e3fec247fbd95)
by Konstantin Shcheglov · 2 days ago

[97772dd](https://dart.googlesource.com/sdk.git/+/97772dd77255b2959bb7539485db2293b3d74e64)
[[doc] Update GSoC
projects](https://dart.googlesource.com/sdk.git/+/97772dd77255b2959bb7539485db2293b3d74e64)
by Daco Harkes · 2 days ago

[f2d70ce](https://dart.googlesource.com/sdk.git/+/f2d70cec0415f24c839baaef117731a61b4434e5)
[[vm,arm64] Fix AddImmediate in case of
CSP](https://dart.googlesource.com/sdk.git/+/f2d70cec0415f24c839baaef117731a61b4434e5)
by Alexander Markov · 2 days ago

[5f9e3af](https://dart.googlesource.com/sdk.git/+/5f9e3af19c0dffebadc17f7e7bbcd50b67998092)
[Elements. Migrate
BinaryExpressionResolver.](https://dart.googlesource.com/sdk.git/+/5f9e3af19c0dffebadc17f7e7bbcd50b67998092)
by Konstantin Shcheglov · 2 days ago

[30d6cc9](https://dart.googlesource.com/sdk.git/+/30d6cc9394fad4c178bc93e6b4d13151cf07b984)
[[vm,tests] Fix vm/dart/devirtualization_during_inlining_il_test on
vm-aot-optimization-level-linux-release-x64](https://dart.googlesource.com/sdk.git/+/30d6cc9394fad4c178bc93e6b4d13151cf07b984)
by Alexander Markov · 2 days ago

[7134a45](https://dart.googlesource.com/sdk.git/+/7134a451f3d86ccfc93a7f8f109ee93f056e7d95)
[Format
tests/language/i*.](https://dart.googlesource.com/sdk.git/+/7134a451f3d86ccfc93a7f8f109ee93f056e7d95)
by Robert Nystrom · 2 days ago

[43e190b](https://dart.googlesource.com/sdk.git/+/43e190beda22b15310b6f37b4f672ff1adf347b9)
[[deps] rev core, ecosystem, http, markdown, test, vector_math, web,
web_socket_channel, webdev,
webdriver](https://dart.googlesource.com/sdk.git/+/43e190beda22b15310b6f37b4f672ff1adf347b9)
by Devon Carew · 2 days ago

[ba301f4](https://dart.googlesource.com/sdk.git/+/ba301f49c0c3dedda81c6accf09db9ee89beb700)
[Roll BoringSSL from 2b19cd39ba3a to ea42fe287758 (7
revisions)](https://dart.googlesource.com/sdk.git/+/ba301f49c0c3dedda81c6accf09db9ee89beb700)
by DEPS Autoroller · 2 days ago

[075bbe9](https://dart.googlesource.com/sdk.git/+/075bbe92456a5d3829809647a6fd3d7e208c71fa)
[[cfe] Create SourceClassBuilder throught
ClassDeclaration+Fragment](https://dart.googlesource.com/sdk.git/+/075bbe92456a5d3829809647a6fd3d7e208c71fa)
by Johnni Winther · 2 days ago

[c833c12](https://dart.googlesource.com/sdk.git/+/c833c1227ccdbf587fb1fc120efda2f8745148b4)
[[dart2wasm] Add support for dispatch table calls to unchecked
entries](https://dart.googlesource.com/sdk.git/+/c833c1227ccdbf587fb1fc120efda2f8745148b4)
by Martin Kustermann · 2 days ago

[7c22f94](https://dart.googlesource.com/sdk.git/+/7c22f942aa88b78667781cbc83d89a035348f598)
[[_fe_analyzer_shared] Remove macro tests and
helpers](https://dart.googlesource.com/sdk.git/+/7c22f942aa88b78667781cbc83d89a035348f598)
by Johnni Winther · 3 days ago

[ca16a42](https://dart.googlesource.com/sdk.git/+/ca16a4271cbb9bec2da06aa2bf95b70c9f7b3953)
[[scanner] Replace
KeywordState](https://dart.googlesource.com/sdk.git/+/ca16a4271cbb9bec2da06aa2bf95b70c9f7b3953)
by Jens Johansen · 3 days ago

[49a9d42](https://dart.googlesource.com/sdk.git/+/49a9d42cfc08138b3d230296d704ae99c4ae1323)
[[scanner] Ask VM to inline
Token._setCommentParent](https://dart.googlesource.com/sdk.git/+/49a9d42cfc08138b3d230296d704ae99c4ae1323)
by Jens Johansen · 3 days ago

[95265c3](https://dart.googlesource.com/sdk.git/+/95265c319c101636e15e36d36f26e7836e8bfe18)
[[scanner] Optimize scanning of identifiers, comments, spaces
etc.](https://dart.googlesource.com/sdk.git/+/95265c319c101636e15e36d36f26e7836e8bfe18)
by Jens Johansen · 3 days ago

[f534c13](https://dart.googlesource.com/sdk.git/+/f534c1337f7c2e91f215ceffa51109bf5d5dbc71)
[[dart2js, ddc] Slightly quicker 'as' checks for primitve
types](https://dart.googlesource.com/sdk.git/+/f534c1337f7c2e91f215ceffa51109bf5d5dbc71)
by Stephen Adams · 3 days ago

[81f7324](https://dart.googlesource.com/sdk.git/+/81f73241653d1edbb38a9d226f1dc3799fe947ef)
[Format
tests/language/l*.](https://dart.googlesource.com/sdk.git/+/81f73241653d1edbb38a9d226f1dc3799fe947ef)
by Robert Nystrom · 3 days ago

[9e3daae](https://dart.googlesource.com/sdk.git/+/9e3daae3cadaf59fed3defd43d528f45e7f1ad33)
[Roll Fuchsia SDK from 26.20250120.5.1 to
27.20250203.4.1](https://dart.googlesource.com/sdk.git/+/9e3daae3cadaf59fed3defd43d528f45e7f1ad33)
by DEPS Autoroller · 3 days ago

[83cb99c](https://dart.googlesource.com/sdk.git/+/83cb99cec8fd42256b8497ef0eca58cf4fe96346)
[Roll BoringSSL from afa405fd7c90 to 2b19cd39ba3a (6
revisions)](https://dart.googlesource.com/sdk.git/+/83cb99cec8fd42256b8497ef0eca58cf4fe96346)
by DEPS Autoroller · 3 days ago

[919160c](https://dart.googlesource.com/sdk.git/+/919160ca6502e49e3d2b2457396394c92d8244a6)
[Roll Fuchsia Test Scripts from 47fHFQ75rAiCuvG7G... to
2fowg5AX8Ry8Vf_Ku...](https://dart.googlesource.com/sdk.git/+/919160ca6502e49e3d2b2457396394c92d8244a6)
by DEPS Autoroller · 3 days ago

[1e8b9ea](https://dart.googlesource.com/sdk.git/+/1e8b9eae70aa1183c2c3f6b5cbba25b23f3336b4)
[Version
3.8.0-71.0.dev](https://dart.googlesource.com/sdk.git/+/1e8b9eae70aa1183c2c3f6b5cbba25b23f3336b4)
by Dart CI · 3 days ago
[3.8.0-71.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.8.0-71.0.dev)

[5e52d5b](https://dart.googlesource.com/sdk.git/+/5e52d5bac322f17d045f4423e3575ee4f0e27433)
[Bump github/codeql-action from 3.28.5 to
3.28.8](https://dart.googlesource.com/sdk.git/+/5e52d5bac322f17d045f4423e3575ee4f0e27433)
by dependabot[bot] · 3 days ago

[2cf3a72](https://dart.googlesource.com/sdk.git/+/2cf3a726b2ec34f722a0e96c71e5334063085022)
[Bump actions/setup-python from 5.3.0 to
5.4.0](https://dart.googlesource.com/sdk.git/+/2cf3a726b2ec34f722a0e96c71e5334063085022)
by dependabot[bot] · 3 days ago

[466cc35](https://dart.googlesource.com/sdk.git/+/466cc35c7eff7244bf00885e8fb88c59020ce9e0)
[[CQ] correct options fix test
docs](https://dart.googlesource.com/sdk.git/+/466cc35c7eff7244bf00885e8fb88c59020ce9e0)
by pq · 3 days ago

[2ac5992](https://dart.googlesource.com/sdk.git/+/2ac59922d2e6ab5f62ceb8725ffad96cfd147c68)
[DAS plugins: Support fixes to ignore
diagnostics](https://dart.googlesource.com/sdk.git/+/2ac59922d2e6ab5f62ceb8725ffad96cfd147c68)
by Sam Rawlins · 3 days ago

[4305541](https://dart.googlesource.com/sdk.git/+/430554158e74e862ead25d21b013eb769056431c)
[[vm] Support implicit dynamic
calls](https://dart.googlesource.com/sdk.git/+/430554158e74e862ead25d21b013eb769056431c)
by Alexander Markov · 3 days ago

[052e03c](https://dart.googlesource.com/sdk.git/+/052e03c82905ea6342bb2176085df7707ef85c02)
[DAS plugins: Support plugin-namespaced inline ignore
comments](https://dart.googlesource.com/sdk.git/+/052e03c82905ea6342bb2176085df7707ef85c02)
by Sam Rawlins · 3 days ago

[00e5314](https://dart.googlesource.com/sdk.git/+/00e5314d7b70f997d562bf1dd7aeb4d171f9bbbb)
[[vm,compiler] Do not treat unrelated DynamicInvocation flag as
InstanceInvocation.FlagInvariant](https://dart.googlesource.com/sdk.git/+/00e5314d7b70f997d562bf1dd7aeb4d171f9bbbb)
by Alexander Markov · 3 days ago

[938d9c0](https://dart.googlesource.com/sdk.git/+/938d9c0dc8ed139fc7b15481ed5026258af1d866)
[[cfe] Create synthesized super classes
late](https://dart.googlesource.com/sdk.git/+/938d9c0dc8ed139fc7b15481ed5026258af1d866)
by Johnni Winther · 3 days ago

[98e29db](https://dart.googlesource.com/sdk.git/+/98e29db45cd969a0a1cd913ef69e231307b17b02)
[[native_assets] Disable experiment on stable and beta
channel](https://dart.googlesource.com/sdk.git/+/98e29db45cd969a0a1cd913ef69e231307b17b02)
by Daco Harkes · 4 days ago

[74f2d4b](https://dart.googlesource.com/sdk.git/+/74f2d4b1afef800e5728558889b77429d4bd8d01)
[[vm/ffi] Error on invoking callback from leaf
call](https://dart.googlesource.com/sdk.git/+/74f2d4b1afef800e5728558889b77429d4bd8d01)
by Daco Harkes · 4 days ago

[5984cc8](https://dart.googlesource.com/sdk.git/+/5984cc8c24ac4989a6ddf65a5c4b76c32bd7fad0)
[[vm] Verify transitions in generated
code](https://dart.googlesource.com/sdk.git/+/5984cc8c24ac4989a6ddf65a5c4b76c32bd7fad0)
by Daco Harkes · 4 days ago

[6157f45](https://dart.googlesource.com/sdk.git/+/6157f4598cf64ae5d189be5035dac1b286796b5e)
[[benchmark][ffi] Add simple callback
benchmark](https://dart.googlesource.com/sdk.git/+/6157f4598cf64ae5d189be5035dac1b286796b5e)
by Daco Harkes · 4 days ago

[68d334d](https://dart.googlesource.com/sdk.git/+/68d334d6204c219248202b9a54dc4b751192ddf6)
[Replace link to non-existent language versioning document with current
dev docs on
subject](https://dart.googlesource.com/sdk.git/+/68d334d6204c219248202b9a54dc4b751192ddf6)
by Tim Maffett · 4 days ago

[3a4277b](https://dart.googlesource.com/sdk.git/+/3a4277bdef70dd11ea2719be9715a1089dc739d6)
[[docs] Add GSoC 2025 project
ideas](https://dart.googlesource.com/sdk.git/+/3a4277bdef70dd11ea2719be9715a1089dc739d6)
by Daco Harkes · 4 days ago

[0dfbab89](https://dart.googlesource.com/sdk.git/+/0dfbab89cba46e6bd750e674af0f9ee26f0c2240)
[Make tests/lib/js/static_interop not use
minitest.](https://dart.googlesource.com/sdk.git/+/0dfbab89cba46e6bd750e674af0f9ee26f0c2240)
by Lasse R.H. Nielsen · 4 days ago

[e534983](https://dart.googlesource.com/sdk.git/+/e534983216e6db5fdc8bd7c773c3a6a5a519301a)
[Linkable AOT snapshots on
macOS](https://dart.googlesource.com/sdk.git/+/e534983216e6db5fdc8bd7c773c3a6a5a519301a)
by Ivan Inozemtsev · 4 days ago

[d678a7e](https://dart.googlesource.com/sdk.git/+/d678a7e191c0b99e5367e2819c46597b7b356d35)
[[analyzer] Stop generating the diagnostics.md
file](https://dart.googlesource.com/sdk.git/+/d678a7e191c0b99e5367e2819c46597b7b356d35)
by Parker Lougheed · 4 days ago

[7bb0c4c](https://dart.googlesource.com/sdk.git/+/7bb0c4cdf42db9252a969c9984f86da71c487c25)
[Update d8 and jsc in
DEPS](https://dart.googlesource.com/sdk.git/+/7bb0c4cdf42db9252a969c9984f86da71c487c25)
by Srujan Gaddam · 4 days ago

[dacb2a7](https://dart.googlesource.com/sdk.git/+/dacb2a71a7566c687c3a04e33200250b1137899e)
[[ CLI ] Remove implicit entry into DartDev if VM service is
enabled](https://dart.googlesource.com/sdk.git/+/dacb2a71a7566c687c3a04e33200250b1137899e)
by Ben Konyi · 4 days ago

[5454e70](https://dart.googlesource.com/sdk.git/+/5454e70ce25a0e10f43d0982ca3949a7ffe18b30)
[[migration] Rename utilities in
protocol_dart.dart](https://dart.googlesource.com/sdk.git/+/5454e70ce25a0e10f43d0982ca3949a7ffe18b30)
by Brian Wilkerson · 4 days ago

[a9f288a](https://dart.googlesource.com/sdk.git/+/a9f288a810f96497b3df5fa5817a9316795f7abd)
[[diagnostics] fix `removed_lint`
reporting](https://dart.googlesource.com/sdk.git/+/a9f288a810f96497b3df5fa5817a9316795f7abd)
by pq · 4 days ago

[fb0cac7](https://dart.googlesource.com/sdk.git/+/fb0cac7375664e8204ad831af92bedbb79d4ca52)
[[vm] Fix uninitialized Code::instructions_ during deferred
loading.](https://dart.googlesource.com/sdk.git/+/fb0cac7375664e8204ad831af92bedbb79d4ca52)
by Ryan Macnak · 4 days ago

[2e13d4d](https://dart.googlesource.com/sdk.git/+/2e13d4d95498a586df8a5b7ce984640902d76c4a)
[[linter] Doc and changelog
updates](https://dart.googlesource.com/sdk.git/+/2e13d4d95498a586df8a5b7ce984640902d76c4a)
by Parker Lougheed · 4 days ago

[0d03fb8](https://dart.googlesource.com/sdk.git/+/0d03fb88d6f1e14b4c2f758cd0abd0782626faa2)
[Make more methods
synchronous.](https://dart.googlesource.com/sdk.git/+/0d03fb88d6f1e14b4c2f758cd0abd0782626faa2)
by Konstantin Shcheglov · 4 days ago

[448f0d4](https://dart.googlesource.com/sdk.git/+/448f0d408028113d196d45d0322f862737f87a2d)
[[migrate]
server/protocol_dart.dart](https://dart.googlesource.com/sdk.git/+/448f0d408028113d196d45d0322f862737f87a2d)
by Brian Wilkerson · 4 days ago
https://dart.googlesource.com/external/github.com/flutter/flutter/+/2d39a739ea1d065e1c3ff8b8cbfcf38496689466
2 files changed
tree: 91b4fafc97853baa165606848f29e754be26ec43
  1. ci/
  2. tools/
  3. .gitignore
  4. commits.json
  5. DEPS
  6. OWNERS
  7. README.md
README.md

Monorepo

A gclient solution for checking out Dart and Flutter source trees

Monorepo is:

  • Optimized for Tip-of-Tree testing: The Monorepo DEPS used to check out Dart and Flutter dependencies comes from the Flutter engine DEPS with updated dependencies from Dart.

Checking out Monorepo

With depot_tools installed and on your path, create a directory for your monorepo checkout and run these commands to create a gclient solution in that directory:

mkdir monorepo
cd monorepo
gclient config --unmanaged https://dart.googlesource.com/monorepo
gclient sync -D

This gives you a checkout in the monorepo directory that contains:

monorepo/
  DEPS - the DEPS used for this gclient checkout
  commits.json - the pinned commits for Dart, flutter/engine,
                 and flutter/flutter
  tools/ - scripts used to create monorepo DEPS
engine/src/ - the flutter/buildroot repo
    flutter/ - the flutter/engine repo
    out/ - the build directory, where Flutter engine builds are created
    third_party/ - Flutter dependencies checked out by DEPS
      dart/ - the Dart SDK checkout.
        third_party - Dart dependencies, also used by Flutter
flutter/ - the flutter/flutter repo

Building Flutter engine

Flutter's instructions for building the engine are at Compiling the engine

They can be followed closely, with a few changes:

  • Googlers working on Dart do not need to switch to Fuchsia's Goma RBE, except for Windows. The GOMA_DIR enviroment variable can just point to the .cipd_bin directory in a depot_tools installation, and just goma_ctl ensure_start is sufficient.
  • The --no-prebuilt-dart-sdk option has to be added to every gn command, so that the build is set up to build and use a local Dart SDK.
  • The --full-dart-sdk option must be added to gn for the host build target if you will be building web or desktop apps.

Example build commands that work on linux:

MONOREPO_PATH=$PWD
if [[ ! $PATH =~ (^|:)$MONOREPO_PATH/flutter/bin(:|$) ]]; then
  PATH=$MONOREPO_PATH/flutter/bin:$PATH
fi

export GOMA_DIR=$(dirname $(command -v gclient))/.cipd_bin
goma_ctl ensure_start

pushd engine/src
flutter/tools/gn --goma --no-prebuilt-dart-sdk --unoptimized --full-dart-sdk
autoninja -C out/host_debug_unopt
popd

Building Flutter apps

The Flutter commands used to build and run apps will use the locally built Flutter engine and Dart SDK, instead of the one downloaded by the Flutter tool, if the --local-engine option is provided.

For example, to build and run the Flutter spinning square sample on the web platform,

MONOREPO_PATH=$PWD
cd flutter/examples/layers
flutter --local-engine=host_debug_unopt \
  -d chrome run widgets/spinning_square.dart
cd $MONOREPO_PATH

To build for desktop, specify the desktop platform device in flutter run as -d macos or -d linux or -d windows. You may also need to run the command

flutter create --platforms=windows,macos,linux

on existing apps, such as sample apps. New apps created with flutter create already include these support files. Details of desktop support are at Desktop Support for Flutter

Testing

Tests in the Flutter source tree can be run with the flutter test command, run in the directory of a package containing tests. For example:

MONOREPO_PATH=$PWD
cd flutter/packages/flutter
flutter test --local-engine=host_debug_unopt
cd $MONOREPO_PATH

Troubleshooting

Please file an issue or email the dart-engprod team with any problems with or questions about using monorepo.

We will update this documentation to address them.

  • flutter commands may download the engine and Dart SDK files for the configured channel, even though they will be using the local engine and its SDK.

Windows

  • On Windows, gclient sync needs to be run in an administrator session, because some installed dependencies create symlinks.