From 44e3fb8db5ed1d75249e8451ba699b3cff8627a7 Mon Sep 17 00:00:00 2001 From: "Sergey G. Grekhov" Date: Fri, 19 Jan 2024 10:51:18 +0000 Subject: [PATCH 1/2] [co19] Roll co19 to dadc1781676fe5562917ac6bc5ea38da64abe76a 2024-01-18 sgrekhov22@gmail.com dart-lang/co19#2477. Add test checking that an operator can be redeclared (dart-lang/co19#2495) 2024-01-18 sgrekhov22@gmail.com Fixes dart-lang/co19#2479. Delete outdated test co19/LibTest/ffi/sizeOf/sizeOf_A01_t02 (dart-lang/co19#2483) 2024-01-17 sgrekhov22@gmail.com dart-lang/co19#2485. Add constants `as T` tests (dart-lang/co19#2489) 2024-01-17 sgrekhov22@gmail.com dart-lang/co19#2477. Add more constant evaluation tests (dart-lang/co19#2484) 2024-01-17 sgrekhov22@gmail.com Fixes dart-lang/co19#2487. Add tests for type cast and type `void` (dart-lang/co19#2492) 2024-01-17 sgrekhov22@gmail.com Fixes dart-lang/co19#2486. `Pointer.elementAt` replaced by `+` operator (dart-lang/co19#2488) 2024-01-17 sgrekhov22@gmail.com Fixes dart-lang/co19#2491. Add test that an extension type cannot implement type `Never` (dart-lang/co19#2493) 2024-01-12 sgrekhov22@gmail.com dart-lang/co19#2477. Add match operators constants evaluation tests (dart-lang/co19#2482) Change-Id: I1dee628d4685b0b24296aaabfcf4abcb659fa765 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347240 Reviewed-by: Alexander Thomas Reviewed-by: William Hesse --- DEPS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPS b/DEPS index db7aa286c7a9..a2608274f73e 100644 --- a/DEPS +++ b/DEPS @@ -54,7 +54,7 @@ vars = { # co19 is a cipd package automatically generated for each co19 commit. # Use tests/co19/update.sh to update this hash. - "co19_rev": "b5126f0bd51ea0819df8d5c362574f951a564940", + "co19_rev": "dadc1781676fe5562917ac6bc5ea38da64abe76a", # The internal benchmarks to use. See go/dart-benchmarks-internal "benchmarks_internal_rev": "f048a4a853e3062056d39c3db100acdde42f16d6", From 0a8b97395914b430fa8fcc043cf74562909f285a Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Fri, 19 Jan 2024 14:05:48 +0000 Subject: [PATCH 2/2] Remove explicit enable of inline class Change-Id: I77f42ccf07d18f1895333581a5c72bdf74a973bd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347300 Reviewed-by: Martin Kustermann Commit-Queue: Michael Thomsen --- pkg/dartdev/lib/src/commands/compile.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/dartdev/lib/src/commands/compile.dart b/pkg/dartdev/lib/src/commands/compile.dart index 3e4aa8980bf8..7b915ad38dda 100644 --- a/pkg/dartdev/lib/src/commands/compile.dart +++ b/pkg/dartdev/lib/src/commands/compile.dart @@ -10,7 +10,6 @@ import 'package:dart2native/generate.dart'; import 'package:dart2wasm/generate_wasm.dart'; import 'package:front_end/src/api_prototype/compiler_options.dart' show Verbosity; -import 'package:front_end/src/api_unstable/vm.dart' as fe; import 'package:path/path.dart' as path; import 'package:vm/target_os.dart'; // For possible --target-os values. @@ -559,9 +558,6 @@ class CompileWasmCommand extends CompileSubcommandCommand { options.translatorOptions.importSharedMemory = true; options.translatorOptions.sharedMemoryMaxPages = maxPages; } - // Enable inline classes. - // TODO: Remove this when inline classe ship. - options.feExperimentalFlags = {fe.ExperimentalFlag.inlineClass: true}; int result; try {