We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e091a4 commit 11afb58Copy full SHA for 11afb58
1 file changed
src/compile/validator.ts
@@ -59,7 +59,7 @@ export class Validator<Context extends TProperties = TProperties, Type extends T
59
// Note: The Base type requires this Validator to be Clone, but where we cannot safely clone
60
// the BuildResult or the EvaluateResult. For now we pass the Validator constructor a shared
61
// reference of BuildResult and EvaluateResult to mitigate re-compile on Clone. We must remove
62
- // this overload when Base is removed.
+ // this overload when Base is removed (memory-gc-ref)
63
if(matched.length === 3 && matched[1] instanceof BuildResult && matched[2] instanceof EvaluateResult) {
64
const [hasCodec, buildResult, evaluateResult] = matched
65
this.hasCodec = hasCodec
0 commit comments