Accepting new baselines
This commit is contained in:
parent
92df0297c8
commit
32e64640d5
3 changed files with 48 additions and 118 deletions
|
@ -34,19 +34,19 @@ else if (b.isFollower()) {
|
|||
b.follow();
|
||||
}
|
||||
|
||||
if (((a.isLeader)())) {
|
||||
a.lead();
|
||||
}
|
||||
else if (((a).isFollower())) {
|
||||
a.follow();
|
||||
}
|
||||
// if (((a.isLeader)())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a).isFollower())) {
|
||||
// a.follow();
|
||||
// }
|
||||
|
||||
if (((a["isLeader"])())) {
|
||||
a.lead();
|
||||
}
|
||||
else if (((a)["isFollower"]())) {
|
||||
a.follow();
|
||||
}
|
||||
// if (((a["isLeader"])())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a)["isFollower"]())) {
|
||||
// a.follow();
|
||||
// }
|
||||
|
||||
var holder2 = {a};
|
||||
|
||||
|
@ -190,18 +190,18 @@ if (b.isLeader()) {
|
|||
else if (b.isFollower()) {
|
||||
b.follow();
|
||||
}
|
||||
if (((a.isLeader)())) {
|
||||
a.lead();
|
||||
}
|
||||
else if (((a).isFollower())) {
|
||||
a.follow();
|
||||
}
|
||||
if (((a["isLeader"])())) {
|
||||
a.lead();
|
||||
}
|
||||
else if (((a)["isFollower"]())) {
|
||||
a.follow();
|
||||
}
|
||||
// if (((a.isLeader)())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a).isFollower())) {
|
||||
// a.follow();
|
||||
// }
|
||||
// if (((a["isLeader"])())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a)["isFollower"]())) {
|
||||
// a.follow();
|
||||
// }
|
||||
var holder2 = { a: a };
|
||||
if (holder2.a.isLeader()) {
|
||||
holder2.a;
|
||||
|
|
|
@ -91,45 +91,19 @@ else if (b.isFollower()) {
|
|||
>follow : Symbol(FollowerGuard.follow, Decl(typeGuardFunctionOfFormThis.ts, 13, 40))
|
||||
}
|
||||
|
||||
if (((a.isLeader)())) {
|
||||
>a.isLeader : Symbol(RoyalGuard.isLeader, Decl(typeGuardFunctionOfFormThis.ts, 0, 18))
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>isLeader : Symbol(RoyalGuard.isLeader, Decl(typeGuardFunctionOfFormThis.ts, 0, 18))
|
||||
// if (((a.isLeader)())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a).isFollower())) {
|
||||
// a.follow();
|
||||
// }
|
||||
|
||||
a.lead();
|
||||
>a.lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36))
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36))
|
||||
}
|
||||
else if (((a).isFollower())) {
|
||||
>(a).isFollower : Symbol(RoyalGuard.isFollower, Decl(typeGuardFunctionOfFormThis.ts, 3, 5))
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>isFollower : Symbol(RoyalGuard.isFollower, Decl(typeGuardFunctionOfFormThis.ts, 3, 5))
|
||||
|
||||
a.follow();
|
||||
>a.follow : Symbol(FollowerGuard.follow, Decl(typeGuardFunctionOfFormThis.ts, 13, 40))
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>follow : Symbol(FollowerGuard.follow, Decl(typeGuardFunctionOfFormThis.ts, 13, 40))
|
||||
}
|
||||
|
||||
if (((a["isLeader"])())) {
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>"isLeader" : Symbol(RoyalGuard.isLeader, Decl(typeGuardFunctionOfFormThis.ts, 0, 18))
|
||||
|
||||
a.lead();
|
||||
>a.lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36))
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36))
|
||||
}
|
||||
else if (((a)["isFollower"]())) {
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>"isFollower" : Symbol(RoyalGuard.isFollower, Decl(typeGuardFunctionOfFormThis.ts, 3, 5))
|
||||
|
||||
a.follow();
|
||||
>a.follow : Symbol(FollowerGuard.follow, Decl(typeGuardFunctionOfFormThis.ts, 13, 40))
|
||||
>a : Symbol(a, Decl(typeGuardFunctionOfFormThis.ts, 17, 3))
|
||||
>follow : Symbol(FollowerGuard.follow, Decl(typeGuardFunctionOfFormThis.ts, 13, 40))
|
||||
}
|
||||
// if (((a["isLeader"])())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a)["isFollower"]())) {
|
||||
// a.follow();
|
||||
// }
|
||||
|
||||
var holder2 = {a};
|
||||
>holder2 : Symbol(holder2, Decl(typeGuardFunctionOfFormThis.ts, 49, 3))
|
||||
|
|
|
@ -102,63 +102,19 @@ else if (b.isFollower()) {
|
|||
>follow : () => void
|
||||
}
|
||||
|
||||
if (((a.isLeader)())) {
|
||||
>((a.isLeader)()) : boolean
|
||||
>(a.isLeader)() : boolean
|
||||
>(a.isLeader) : () => this is LeadGuard
|
||||
>a.isLeader : () => this is LeadGuard
|
||||
>a : RoyalGuard
|
||||
>isLeader : () => this is LeadGuard
|
||||
// if (((a.isLeader)())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a).isFollower())) {
|
||||
// a.follow();
|
||||
// }
|
||||
|
||||
a.lead();
|
||||
>a.lead() : void
|
||||
>a.lead : () => void
|
||||
>a : LeadGuard
|
||||
>lead : () => void
|
||||
}
|
||||
else if (((a).isFollower())) {
|
||||
>((a).isFollower()) : boolean
|
||||
>(a).isFollower() : boolean
|
||||
>(a).isFollower : () => this is FollowerGuard
|
||||
>(a) : RoyalGuard
|
||||
>a : RoyalGuard
|
||||
>isFollower : () => this is FollowerGuard
|
||||
|
||||
a.follow();
|
||||
>a.follow() : void
|
||||
>a.follow : () => void
|
||||
>a : FollowerGuard
|
||||
>follow : () => void
|
||||
}
|
||||
|
||||
if (((a["isLeader"])())) {
|
||||
>((a["isLeader"])()) : boolean
|
||||
>(a["isLeader"])() : boolean
|
||||
>(a["isLeader"]) : () => this is LeadGuard
|
||||
>a["isLeader"] : () => this is LeadGuard
|
||||
>a : RoyalGuard
|
||||
>"isLeader" : string
|
||||
|
||||
a.lead();
|
||||
>a.lead() : void
|
||||
>a.lead : () => void
|
||||
>a : LeadGuard
|
||||
>lead : () => void
|
||||
}
|
||||
else if (((a)["isFollower"]())) {
|
||||
>((a)["isFollower"]()) : boolean
|
||||
>(a)["isFollower"]() : boolean
|
||||
>(a)["isFollower"] : () => this is FollowerGuard
|
||||
>(a) : RoyalGuard
|
||||
>a : RoyalGuard
|
||||
>"isFollower" : string
|
||||
|
||||
a.follow();
|
||||
>a.follow() : void
|
||||
>a.follow : () => void
|
||||
>a : FollowerGuard
|
||||
>follow : () => void
|
||||
}
|
||||
// if (((a["isLeader"])())) {
|
||||
// a.lead();
|
||||
// }
|
||||
// else if (((a)["isFollower"]())) {
|
||||
// a.follow();
|
||||
// }
|
||||
|
||||
var holder2 = {a};
|
||||
>holder2 : { a: RoyalGuard; }
|
||||
|
|
Loading…
Reference in a new issue