[dart2js,js_runtime] Record type recipes and runtime subtype test
Change-Id: I54adb8b6184a19667a296a670fecb37d7ce9dce7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262126 Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
committed by
Commit Queue
parent
16d06dac06
commit
edf0da2df4
@@ -58,6 +58,9 @@ abstract class Recipe {
|
||||
static const String genericFunctionTypeParameterIndexString =
|
||||
_circumflexString;
|
||||
|
||||
static const int startRecord = _plus;
|
||||
static const String startRecordString = _plusString;
|
||||
|
||||
static const int extensionOp = _ampersand;
|
||||
static const String extensionOpString = _ampersandString;
|
||||
static const int pushNeverExtension = 0;
|
||||
@@ -198,6 +201,7 @@ abstract class Recipe {
|
||||
requiredNameSeparatorString);
|
||||
test("genericFunctionTypeParameterIndex", genericFunctionTypeParameterIndex,
|
||||
genericFunctionTypeParameterIndexString);
|
||||
test("startRecord", startRecord, startRecordString);
|
||||
test("extensionOp", extensionOp, extensionOpString);
|
||||
testExtension(
|
||||
"pushNeverExtension", pushNeverExtension, pushNeverExtensionString);
|
||||
|
||||
Reference in New Issue
Block a user