@@ -269,10 +269,7 @@ class ForwardingConstructorGenericSuperClass<T> {
269269 _isString(1),
270270 _isTop(1),
271271 findType(1),
272- getRuntimeTypeArgument(3),
273- getRuntimeTypeArgumentIntercepted(4),
274272 getRuntimeTypeInfo(1),
275- getTypeArgumentByIndex(2),
276273 instanceType(1),
277274 setRuntimeTypeInfo(2)],
278275 type=[
@@ -322,10 +319,7 @@ class ForwardingConstructorGenericSuperClass<T> {
322319 _isString(1),
323320 _isTop(1),
324321 findType(1),
325- getRuntimeTypeArgument(3),
326- getRuntimeTypeArgumentIntercepted(4),
327322 getRuntimeTypeInfo(1),
328- getTypeArgumentByIndex(2),
329323 instanceType(1),
330324 setRuntimeTypeInfo(2)],
331325 type=[
@@ -344,7 +338,12 @@ class ForwardingConstructorGenericSuperClass<T> {
344338class ForwardingConstructorGenericClass <
345339 S > = ForwardingConstructorGenericSuperClass <S > with EmptyMixin ;
346340
347- /*member: testForwardingConstructorGeneric:static=[ForwardingConstructorGenericClass.(1),checkTypeBound(4),throwTypeError(1)],type=[inst:JSNull]*/
341+ /*member: testForwardingConstructorGeneric:
342+ static=[
343+ ForwardingConstructorGenericClass.(1),
344+ checkTypeBound(4)],
345+ type=[inst:JSNull]
346+ */
348347testForwardingConstructorGeneric () {
349348 new ForwardingConstructorGenericClass <int >(null );
350349}
@@ -400,10 +399,7 @@ testEnum() => Enum.A;
400399 _isString(1),
401400 _isTop(1),
402401 findType(1),
403- getRuntimeTypeArgument(3),
404- getRuntimeTypeArgumentIntercepted(4),
405402 getRuntimeTypeInfo(1),
406- getTypeArgumentByIndex(2),
407403 instanceType(1),
408404 setRuntimeTypeInfo(2)],
409405 type=[
@@ -454,10 +450,7 @@ testEnum() => Enum.A;
454450 _isString(1),
455451 _isTop(1),
456452 findType(1),
457- getRuntimeTypeArgument(3),
458- getRuntimeTypeArgumentIntercepted(4),
459453 getRuntimeTypeInfo(1),
460- getTypeArgumentByIndex(2),
461454 instanceType(1),
462455 setRuntimeTypeInfo(2)],
463456 type=[
@@ -475,8 +468,8 @@ testEnum() => Enum.A;
475468List <T > staticGenericMethod <T >(T arg) => [arg];
476469
477470/*spec:nnbd-off.member: testStaticGenericMethod:
478- static=[staticGenericMethod<bool>(1)],
479- type=[inst:JSBool]
471+ static=[staticGenericMethod<bool>(1)],
472+ type=[inst:JSBool]
480473*/
481474/*spec:nnbd-sdk.member: testStaticGenericMethod:
482475 static=[staticGenericMethod<bool*>(1)],
@@ -486,13 +479,18 @@ testStaticGenericMethod() {
486479 staticGenericMethod <bool >(true );
487480}
488481
489- /*spec:nnbd-off.member: testInstanceGenericMethod:dynamic=[exact:GenericClass.genericMethod<bool>(1)],static=[GenericClass.generative(0),checkTypeBound(4),throwTypeError(1)],type=[inst:JSBool]*/
482+ /*spec:nnbd-off.member: testInstanceGenericMethod:
483+ dynamic=[exact:GenericClass.genericMethod<bool>(1)],
484+ static=[
485+ GenericClass.generative(0),
486+ checkTypeBound(4)],
487+ type=[inst:JSBool]
488+ */
490489/*spec:nnbd-sdk.member: testInstanceGenericMethod:
491490 dynamic=[exact:GenericClass.genericMethod<bool*>(1)],
492491 static=[
493492 GenericClass.generative(0),
494- checkTypeBound(4),
495- throwTypeError(1)],
493+ checkTypeBound(4)],
496494 type=[inst:JSBool]
497495*/
498496testInstanceGenericMethod () {
@@ -516,10 +514,14 @@ testMixinInstantiation() => new Sub();
516514/*member: testNamedMixinInstantiation:static=[NamedMixin.(0)]*/
517515testNamedMixinInstantiation () => new NamedMixin ();
518516
519- /*member: testGenericMixinInstantiation:static=[GenericSub.(0),checkTypeBound(4),throwTypeError(1)]*/
517+ /*member: testGenericMixinInstantiation:static=[
518+ GenericSub.(0),
519+ checkTypeBound(4)]*/
520520testGenericMixinInstantiation () => new GenericSub <int , String >();
521521
522- /*member: testGenericNamedMixinInstantiation:static=[GenericNamedMixin.(0),checkTypeBound(4),throwTypeError(1)]*/
522+ /*member: testGenericNamedMixinInstantiation:static=[
523+ GenericNamedMixin.(0),
524+ checkTypeBound(4)]*/
523525testGenericNamedMixinInstantiation () => new GenericNamedMixin <int , String >();
524526
525527class Class {
@@ -563,10 +565,7 @@ class GenericClass<X, Y> {
563565 _isString(1),
564566 _isTop(1),
565567 findType(1),
566- getRuntimeTypeArgument(3),
567- getRuntimeTypeArgumentIntercepted(4),
568568 getRuntimeTypeInfo(1),
569- getTypeArgumentByIndex(2),
570569 instanceType(1),
571570 setRuntimeTypeInfo(2)],
572571 type=[
@@ -618,10 +617,7 @@ class GenericClass<X, Y> {
618617 _isString(1),
619618 _isTop(1),
620619 findType(1),
621- getRuntimeTypeArgument(3),
622- getRuntimeTypeArgumentIntercepted(4),
623620 getRuntimeTypeInfo(1),
624- getTypeArgumentByIndex(2),
625621 instanceType(1),
626622 setRuntimeTypeInfo(2)],
627623 type=[
0 commit comments