You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Strange order dependency of members with cancellable tasks #15940
Area-Compiler-StateMachinesSequence, list, task and other state machine compilationBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.
I'm guessing it has to do with the mutual recursive type checking behavior of classes and something doesn't apply to state machine CEs. Does it happen with task?
Area-Compiler-StateMachinesSequence, list, task and other state machine compilationBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.
Activity
psfinaki commentedon Sep 6, 2023
Poking randomly @TheAngryByrd and @vzarytovskii
vzarytovskii commentedon Sep 6, 2023
Async is different, it's classic CE, there's no macro-like behaviour. It's likely due to it being in type augmentation.
TheAngryByrd commentedon Sep 6, 2023
I'm guessing it has to do with the mutual recursive type checking behavior of classes and something doesn't apply to state machine CEs. Does it happen with task?
psfinaki commentedon Sep 6, 2023
Nope, tasks are also fine.

TheAngryByrd commentedon Sep 6, 2023
hmm what about getting rid of
BindReturnandMergeSourcesfor a moment?Might also be related to the
Sourcemembers too.TheAngryByrd commentedon Sep 6, 2023
hmm adding
: CancellationToken -> Task<int>toMemberXmakes it go away, so related to some weird inferencing.psfinaki commentedon Sep 6, 2023
Alright so then I guess this at least counts as a bug not feature :)