Skip to content

Commit 11afb58

Browse files
committed
Comment
1 parent 3e091a4 commit 11afb58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compile/validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class Validator<Context extends TProperties = TProperties, Type extends T
5959
// Note: The Base type requires this Validator to be Clone, but where we cannot safely clone
6060
// the BuildResult or the EvaluateResult. For now we pass the Validator constructor a shared
6161
// reference of BuildResult and EvaluateResult to mitigate re-compile on Clone. We must remove
62-
// this overload when Base is removed.
62+
// this overload when Base is removed (memory-gc-ref)
6363
if(matched.length === 3 && matched[1] instanceof BuildResult && matched[2] instanceof EvaluateResult) {
6464
const [hasCodec, buildResult, evaluateResult] = matched
6565
this.hasCodec = hasCodec

0 commit comments

Comments
 (0)