9d08a13721
* Extends the frontend server controller to validate/reject compile errors in compiles/recompiles. * Extends the config to permit an 'expectedError' entry. * Adds a handful of tests to the suite (adapted from the VM's hot reload tests). Change-Id: I47d814e375c4c72d0406ebf5bdfee3f1975c64f0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363800 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
10 lines
288 B
Dart
10 lines
288 B
Dart
// Copyright (c) 2024, 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.
|
|
|
|
class State<T> {
|
|
T t;
|
|
State(this.t);
|
|
T howAreTheThings() => t;
|
|
}
|