mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:19:47 +00:00
47b9e3e6df
There is an issue with cross module constant extension types that causes the CFE to crash. Change-Id: Id6af3a5400e55ecb2534ce71a07c5c1ecb17a46f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335384 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
16 lines
383 B
Dart
16 lines
383 B
Dart
// Copyright (c) 2023, 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.
|
|
import 'package:expect/expect.dart';
|
|
|
|
import 'def.dart';
|
|
|
|
main() {
|
|
ExtString x = val;
|
|
fn(x);
|
|
}
|
|
|
|
void fn(ExtString es) {
|
|
Expect.equals('hello', es.toString());
|
|
}
|