123ishaTest/ludiek

Unused Concepts don't show up in the union type

开放

#107 创建于 2025年10月11日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (4 个派生)auto 404
bugenginehelp wanted

仓库指标

星标
 (12 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

If you create a Condition but don't use it in the evaluator, it breaks the resulting LudiekCondition union. It seems there needs to be at least a public method on the LudiekEvaluator that uses Condition as an argument for it to end up in the final union.

This is a very dangerous bug as any consuming concept can completely break the type system, leading to hard to debug situations

贡献者指南