具有 F# SRTP 约束的 OR 模式被解释为 AND - OR pattern with F# SRTP constraints is interpreted as AND
我想知道为什么| ,我的函数doThingsWithOrProps中 SRTP 上下文中的“或”模式未按预期工作,也就是它应该能够接受具有属性PropA或另一个属性PropB的类型,但它被解释为 AND &模式就像函数doThingsWithAndProps一样,它实际上没有意义,因为相 ...