dart-sdk/pkg/front_end/testcases/records/record_type.dart.weak.transformed.expect
Johnni Winther 36641368bb [cfe] Treat NonNullableByDefault as default in ast-to-text
This changes ast-to-text to mark legacy libraries instead of
non-nullable-by-default libraries.

TEST=existing

Change-Id: Ib01147e4ef48c2c5b2ffc6b23547998344dfdf2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307121
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2023-06-08 06:28:50 +00:00

22 lines
870 B
Plaintext

library;
import self as self;
import "dart:core" as core;
static const field core::int annotation = #C1;
static field (core::int, core::String) topLevelFieldType = throw "";
static method topLevelMethodReturnType() → (core::int, {required b: core::String})
return throw "";
static method topLevelSetterType(({required a: core::int, required b: core::String}) value) → void {}
static method topLevelMethodParameterType((core::String, core::int) o) → void {}
static method method() → void {
(core::int, core::String) topLevelFieldType = throw "";
function topLevelMethodReturnType() → (core::int, {required b: core::String})
return throw "";
function topLevelSetterType(({required a: core::int, required b: core::String}) value) → void {}
function topLevelMethodParameterType((core::String, core::int) o) → void {}
}
constants {
#C1 = 1
}